C# Class Helpmebot.Services.UrlShortening.IsGdUrlShorteningService

Shortens URLs
Inheritance: UrlShorteningServiceBase
Show file Open project: helpmebot/helpmebot

Public Methods

Method Description
IsGdUrlShorteningService ( ILogger logger, IShortUrlCacheRepository shortUrlCacheRepository, IConfigurationHelper configurationHelper ) : System.IO

Initializes a new instance of the IsGdUrlShorteningService class.

Protected Methods

Method Description
GetShortUrl ( string longUrl ) : string

The get short url.

Method Details

GetShortUrl() protected method

The get short url.
protected GetShortUrl ( string longUrl ) : string
longUrl string /// The long url. ///
return string

IsGdUrlShorteningService() public method

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. ///
return System.IO