URLShortenerHelper MembersKentico 8.1 API Reference
The URLShortenerHelper type exposes the following members.
Constructors

  NameDescription
Public methodURLShortenerHelper
Default constructor used to create default HelperObject.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetAvailableURLShorteners
Creates a collection of available URL shorteners, and returns it.
Protected methodGetAvailableURLShortenersInternal
Creates a collection of available URL shorteners, and returns it.
Public methodStatic memberGetDefaultURLShortenerForSocialNetwork
Retrieves the URL shortener for the specified social network posts, and returns it.
Protected methodGetDefaultURLShortenerForSocialNetworkInternal
Retrieves the URL shortener for the specified social network posts, and returns it.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodGetShortenedURLInternal
Shortens provided URL
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodGetURLForShortening
Prepares any found URL for shortening.
Protected methodIsURLShortened
Determines whether an URL is shortened or to be shortened.
Public methodStatic memberIsURLShortenerAvailable
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.
Protected methodIsURLShortenerAvailableInternal
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.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelper HelperType .)
Public methodStatic memberShortenURLsInText
Shortens URLs in given text using selected URL shortener. Throws an exception if shortener is not available for the given site.
Protected methodShortenURLsInTextInternal
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.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
See Also