Click or drag to resize

MultilanguageStringExtensions Methods

The MultilanguageStringExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberContains
Returns a value indicating whether a specified substring occurs within this MultilanguageString.
Public methodStatic memberGetCurrentLanguageStringOrDefault
Gets the current language string. When from is null or there is no string for the current language, returns the language string of the default language.
Public methodStatic memberGetCurrentOrAny(MultilanguageString, String)
Gets current language string. If not available - the second preference. If also not available - any.
Public methodStatic memberGetCurrentOrAny(MultilanguageString, String, String)
Gets current language string. If not available - the second preference. If also not available - any.
Public methodStatic memberGetCurrentOrTransliterated
Gets the current language string or transliterates another language string to the current language.
Public methodStatic memberGetLanguageStringOrAny
Gets specified language string. If not available - any.
Public methodStatic memberGetLanguageStringOrDefault
Returns the string for the specified language. If the MultilanguageString instance is null or the language string is not found, a null is returned.
Public methodStatic memberIsNullOrEmpty
Returns true if the MultilanguageString is null or empty (does not contain language strings).
Public methodStatic memberLike
Compares a string against pattern.
Public methodStatic memberNormalize
Removes empty strings.
Top
See Also