C# Class Helpmebot.Services.UrlShortening.GooglUrlShorteningService

The http://goo.gl/ url shortening service.
Inheritance: UrlShorteningServiceBase
Afficher le fichier Open project: helpmebot/helpmebot

Méthodes publiques

Méthode Description
GooglUrlShorteningService ( ILogger logger, IShortUrlCacheRepository shortUrlCacheRepository, IConfigurationHelper configurationHelper ) : System

Initializes a new instance of the GooglUrlShorteningService class.

Méthodes protégées

Méthode Description
GetShortUrl ( string longUrl ) : string

The get short url.

Method Details

GetShortUrl() protected méthode

The get short url.
protected GetShortUrl ( string longUrl ) : string
longUrl string /// The long url. ///
Résultat string

GooglUrlShorteningService() public méthode

Initializes a new instance of the GooglUrlShorteningService class.
public GooglUrlShorteningService ( ILogger logger, IShortUrlCacheRepository shortUrlCacheRepository, IConfigurationHelper configurationHelper ) : System
logger ILogger /// The logger. ///
shortUrlCacheRepository IShortUrlCacheRepository /// The short url cache repository. ///
configurationHelper IConfigurationHelper /// The configuration Helper. ///
Résultat System