C# Class System.Globalization.LocalizationAppConfig

The LocalizationAppConfig class holds configurable values for i18NComplete app settings
Afficher le fichier Open project: adaptabi/i18N-Complete

Méthodes publiques

Свойство Type Description
SupportedLanguages string[]

Méthodes publiques

Méthode Description
IsTrue ( string value, bool defaultValue = false ) : bool

Returns true if the value is 1 or true, or default value if null or string.Empty, otherwise false

Private Methods

Méthode Description
LocalizationAppConfig ( ) : System

Static constructor of MvcConfig

Method Details

IsTrue() public static méthode

Returns true if the value is 1 or true, or default value if null or string.Empty, otherwise false
public static IsTrue ( string value, bool defaultValue = false ) : bool
value string
defaultValue bool
Résultat bool

Property Details

SupportedLanguages public_oe static_oe property

A list with the supported languages. If empty, then any language is assumed supported by default
public static string[] SupportedLanguages
Résultat string[]