C# Class AjaxControlToolkit.Localization

Show file Open project: DevExpress/AjaxControlToolkit

Private Properties

Property Type Description
CreateScriptReference System.Web.UI.ScriptReference
DetermineLocale string
FormatScriptName string
GetAllLocaleScriptInfo IEnumerable
GetCustomScriptName string
GetLanguage string
GetLocale string
GetScriptSuffix string
Localization System
PopulateKnownLocales void

Public Methods

Method Description
AddExternalLocale ( string localeKey, ScriptReference>.Func scriptReferenceProvider ) : void
AddLocale ( string localeKey, string scriptName, Assembly scriptAssembly ) : void
GetAllLocalizationEmbeddedScripts ( ) : IEnumerable
GetLocaleKey ( ) : string
GetLocalizationScriptReferences ( ) : IEnumerable
IsDebuggingEnabled ( ) : bool
IsLocalizationEnabled ( ) : bool

Private Methods

Method Description
CreateScriptReference ( string localeKey, Assembly scriptAssembly ) : System.Web.UI.ScriptReference
DetermineLocale ( ) : string
FormatScriptName ( string localeKey ) : string
GetAllLocaleScriptInfo ( ) : IEnumerable
GetCustomScriptName ( string localeKey ) : string
GetLanguage ( string cultureName ) : string
GetLocale ( string culture ) : string
GetScriptSuffix ( ) : string
Localization ( ) : System
PopulateKnownLocales ( ) : void

Method Details

AddExternalLocale() public static method

public static AddExternalLocale ( string localeKey, ScriptReference>.Func scriptReferenceProvider ) : void
localeKey string
scriptReferenceProvider ScriptReference>.Func
return void

AddLocale() public static method

public static AddLocale ( string localeKey, string scriptName, Assembly scriptAssembly ) : void
localeKey string
scriptName string
scriptAssembly System.Reflection.Assembly
return void

GetAllLocalizationEmbeddedScripts() public method

public GetAllLocalizationEmbeddedScripts ( ) : IEnumerable
return IEnumerable

GetLocaleKey() public method

public GetLocaleKey ( ) : string
return string

GetLocalizationScriptReferences() public method

public GetLocalizationScriptReferences ( ) : IEnumerable
return IEnumerable

IsDebuggingEnabled() public method

public IsDebuggingEnabled ( ) : bool
return bool

IsLocalizationEnabled() public method

public IsLocalizationEnabled ( ) : bool
return bool