C# Class ShortUrl.DataAccess.MongoUrlStore

Inheritance: UrlStore
显示文件 Open project: horsdal/ShortURL Class Usage Examples

Public Methods

Method Description
GetUrlFor ( string shortenedUrl ) : string
MongoUrlStore ( string connectionString ) : System.Threading
SaveUrl ( string url, string shortenedUrl ) : void

Method Details

GetUrlFor() public method

public GetUrlFor ( string shortenedUrl ) : string
shortenedUrl string
return string

MongoUrlStore() public method

public MongoUrlStore ( string connectionString ) : System.Threading
connectionString string
return System.Threading

SaveUrl() public method

public SaveUrl ( string url, string shortenedUrl ) : void
url string
shortenedUrl string
return void