C# 클래스 Helpmebot.Services.UrlShortening.GooglUrlShorteningService

The http://goo.gl/ url shortening service.
상속: UrlShorteningServiceBase
파일 보기 프로젝트 열기: helpmebot/helpmebot

공개 메소드들

메소드 설명
GooglUrlShorteningService ( ILogger logger, IShortUrlCacheRepository shortUrlCacheRepository, IConfigurationHelper configurationHelper ) : System

Initializes a new instance of the GooglUrlShorteningService class.

보호된 메소드들

메소드 설명
GetShortUrl ( string longUrl ) : string

The get short url.

메소드 상세

GetShortUrl() 보호된 메소드

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

GooglUrlShorteningService() 공개 메소드

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. ///
리턴 System