C# Class Helpmebot.CoreServices.Services.UrlShortening.IsGdUrlShorteningService

Shortens URLs
Inheritance: Helpmebot.CoreServices.Services.UrlShortening.UrlShorteningServiceBase
Show file Open project: helpmebot/helpmebot

Public Methods

Method Description
IsGdUrlShorteningService ( ILogger logger, IShortUrlCacheService shortUrlCacheService, BotConfiguration config ) : System

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, IShortUrlCacheService shortUrlCacheService, BotConfiguration config ) : System
logger ILogger /// The logger. ///
shortUrlCacheService IShortUrlCacheService /// The short url cache repository. ///
config BotConfiguration
return System