Table of Contents

Class Localization

Namespace
AjaxControlToolkit
Assembly
AjaxControlToolkit.dll
public class Localization
Inheritance
Localization
Inherited Members

Constructors

Localization()

public Localization()

Properties

BuiltinLocales

public virtual ICollection<string> BuiltinLocales { get; }

Property Value

ICollection<string>

Methods

AddExternalLocale(string, Func<string, ScriptReference>)

public static void AddExternalLocale(string localeKey, Func<string, ScriptReference> scriptReferenceProvider)

Parameters

localeKey string
scriptReferenceProvider Func<string, ScriptReference>

AddLocale(string, string, Assembly)

public static void AddLocale(string localeKey, string scriptName, Assembly scriptAssembly)

Parameters

localeKey string
scriptName string
scriptAssembly Assembly

GetAllLocalizationEmbeddedScripts()

public IEnumerable<EmbeddedScript> GetAllLocalizationEmbeddedScripts()

Returns

IEnumerable<EmbeddedScript>

GetLocaleKey()

public string GetLocaleKey()

Returns

string

GetLocalizationScriptReferences()

public IEnumerable<ScriptReference> GetLocalizationScriptReferences()

Returns

IEnumerable<ScriptReference>

IsDebuggingEnabled()

public virtual bool IsDebuggingEnabled()

Returns

bool

IsLocalizationEnabled()

public virtual bool IsLocalizationEnabled()

Returns

bool