C# Class System.Globalization.LocalizationAppConfig

The LocalizationAppConfig class holds configurable values for i18NComplete app settings
显示文件 Open project: adaptabi/i18N-Complete

Public Properties

Property Type Description
SupportedLanguages string[]

Public Methods

Method 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

Method Description
LocalizationAppConfig ( ) : System

Static constructor of MvcConfig

Method Details

IsTrue() public static method

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
return 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
return string[]