C# Class Helpmebot.Services.UrlShortening.IsGdUrlShorteningService

Shortens URLs
Inheritance: UrlShorteningServiceBase
Afficher le fichier Open project: helpmebot/helpmebot

Méthodes publiques

Méthode Description
IsGdUrlShorteningService ( ILogger logger, IShortUrlCacheRepository shortUrlCacheRepository, IConfigurationHelper configurationHelper ) : System.IO

Initializes a new instance of the IsGdUrlShorteningService 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

IsGdUrlShorteningService() public méthode

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