URLShortenerHelper Methods |
The URLShortenerHelper type exposes the following members.
Name | Description | |
---|---|---|
GetAvailableURLShorteners |
Creates a collection of available URL shorteners, and returns it.
| |
GetAvailableURLShortenersInternal |
Creates a collection of available URL shorteners, and returns it.
| |
GetDefaultURLShortenerForSocialNetwork |
Retrieves the URL shortener for the specified social network posts, and returns it.
| |
GetDefaultURLShortenerForSocialNetworkInternal |
Retrieves the URL shortener for the specified social network posts, and returns it.
| |
GetShortenedURLInternal |
Shortens provided URL
| |
GetURLForShortening |
Prepares any found URL for shortening.
| |
IsURLShortened |
Determines whether an URL is shortened or to be shortened.
| |
IsURLShortenerAvailable |
Provides information about availability of the URL shortener.
If specified shortener is configured for given site, true is returned. False otherwise.
If shortener is URLShortenerTypeEnum.None, true is returned as this shortener is always available.
| |
IsURLShortenerAvailableInternal |
Provides information about availability of the URL shortener.
If specified shortener is configured for given site, true is returned. False otherwise.
If shortener is URLShortenerTypeEnum.None, true is returned as this shortener is always available.
| |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) | |
ShortenURLsInText |
Shortens URLs in given text using selected URL shortener. Throws an exception if shortener is not available for the given site.
| |
ShortenURLsInTextInternal |
Shortens all URLs in provided text.
Returns the same text with all URLs shortened by the specified shortener.
If shortener is URLShortenerTypeEnum.None, original inputText is returned.
|