C# Class ShortUrl.DataAccess.MongoUrlStore

Inheritance: UrlStore
Afficher le fichier Open project: horsdal/ShortURL Class Usage Examples

Méthodes publiques

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

Method Details

GetUrlFor() public méthode

public GetUrlFor ( string shortenedUrl ) : string
shortenedUrl string
Résultat string

MongoUrlStore() public méthode

public MongoUrlStore ( string connectionString ) : System.Threading
connectionString string
Résultat System.Threading

SaveUrl() public méthode

public SaveUrl ( string url, string shortenedUrl ) : void
url string
shortenedUrl string
Résultat void