C# Class MTMCL.Lang.LangManager

Show file Open project: cvronmin/metocraft

Public Methods

Method Description
Add ( string languageName, string languageUrl ) : void
Clear ( ) : void
GetLangFromResource ( string key ) : string
ListLanuage ( ) : string[]
LoadLangFromResource ( string path ) : System.Windows.ResourceDictionary
SetLocalizedContent ( this element, string key ) : void
SetLocalizedContent ( this element, string key, DependencyProperty property ) : void
UseLanguage ( string languageName ) : void

Private Methods

Method Description
ReplaceDictationaries ( ) : void

Method Details

Add() public static method

public static Add ( string languageName, string languageUrl ) : void
languageName string
languageUrl string
return void

Clear() public static method

public static Clear ( ) : void
return void

GetLangFromResource() public static method

public static GetLangFromResource ( string key ) : string
key string
return string

ListLanuage() public static method

public static ListLanuage ( ) : string[]
return string[]

LoadLangFromResource() public static method

public static LoadLangFromResource ( string path ) : System.Windows.ResourceDictionary
path string
return System.Windows.ResourceDictionary

SetLocalizedContent() public static method

public static SetLocalizedContent ( this element, string key ) : void
element this
key string
return void

SetLocalizedContent() public static method

public static SetLocalizedContent ( this element, string key, DependencyProperty property ) : void
element this
key string
property System.Windows.DependencyProperty
return void

UseLanguage() public static method

public static UseLanguage ( string languageName ) : void
languageName string
return void