Method | Description | |
---|---|---|
IsGdUrlShorteningService ( ILogger logger, IShortUrlCacheService shortUrlCacheService, BotConfiguration config ) : System |
Initializes a new instance of the IsGdUrlShorteningService class.
|
Method | Description | |
---|---|---|
GetShortUrl ( string longUrl ) : string |
The get short url.
|
protected GetShortUrl ( string longUrl ) : string | ||
longUrl | string | /// The long url. /// |
return | string |
public IsGdUrlShorteningService ( ILogger logger, IShortUrlCacheService shortUrlCacheService, BotConfiguration config ) : System | ||
logger | ILogger | /// The logger. /// |
shortUrlCacheService | IShortUrlCacheService | /// The short url cache repository. /// |
config | BotConfiguration | |
return | System |