C# 클래스 WPFLocalizeExtension.Providers.CSVEmbeddedLocalizationProvider

A singleton CSV provider that uses attached properties and the Parent property to iterate through the visual tree.
상속: CSVLocalizationProviderBase
파일 보기 프로젝트 열기: SeriousM/WPFLocalizationExtension

공개 프로퍼티들

프로퍼티 타입 설명
DefaultAssemblyProperty System.Windows.DependencyProperty
DefaultDictionaryProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetDefaultAssembly ( DependencyObject obj ) : string

Getter of DependencyProperty default assembly.

GetDefaultDictionary ( DependencyObject obj ) : string

Getter of DependencyProperty default dictionary.

GetLocalizedObject ( string key, DependencyObject target, CultureInfo culture ) : object

Get the localized object.

SetDefaultAssembly ( DependencyObject obj, string value ) : void

Setter of DependencyProperty default assembly.

SetDefaultDictionary ( DependencyObject obj, string value ) : void

Setter of DependencyProperty default dictionary.

보호된 메소드들

메소드 설명
GetAssembly ( DependencyObject target ) : string

Get the assembly from the context, if possible.

GetDictionary ( DependencyObject target ) : string

Get the dictionary from the context, if possible.

비공개 메소드들

메소드 설명
AttachedPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void

Indicates, that one of the attached properties changed.

CSVEmbeddedLocalizationProvider ( ) : System

The singleton constructor.

ParentChangedAction ( DependencyObject obj ) : void

An action that will be called when a parent of one of the observed target objects changed.

메소드 상세

GetAssembly() 보호된 메소드

Get the assembly from the context, if possible.
protected GetAssembly ( DependencyObject target ) : string
target System.Windows.DependencyObject The target object.
리턴 string

GetDefaultAssembly() 공개 정적인 메소드

Getter of DependencyProperty default assembly.
public static GetDefaultAssembly ( DependencyObject obj ) : string
obj System.Windows.DependencyObject The dependency object to get the default assembly from.
리턴 string

GetDefaultDictionary() 공개 정적인 메소드

Getter of DependencyProperty default dictionary.
public static GetDefaultDictionary ( DependencyObject obj ) : string
obj System.Windows.DependencyObject The dependency object to get the default dictionary from.
리턴 string

GetDictionary() 보호된 메소드

Get the dictionary from the context, if possible.
protected GetDictionary ( DependencyObject target ) : string
target System.Windows.DependencyObject The target object.
리턴 string

GetLocalizedObject() 공개 메소드

Get the localized object.
public GetLocalizedObject ( string key, DependencyObject target, CultureInfo culture ) : object
key string The key to the value.
target System.Windows.DependencyObject The target object.
culture System.Globalization.CultureInfo The culture to use.
리턴 object

SetDefaultAssembly() 공개 정적인 메소드

Setter of DependencyProperty default assembly.
public static SetDefaultAssembly ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject The dependency object to set the default assembly to.
value string The assembly.
리턴 void

SetDefaultDictionary() 공개 정적인 메소드

Setter of DependencyProperty default dictionary.
public static SetDefaultDictionary ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject The dependency object to set the default dictionary to.
value string The dictionary.
리턴 void

프로퍼티 상세

DefaultAssemblyProperty 공개적으로 정적으로 프로퍼티

DependencyProperty DefaultAssembly to set the fallback assembly.
public static DependencyProperty,System.Windows DefaultAssemblyProperty
리턴 System.Windows.DependencyProperty

DefaultDictionaryProperty 공개적으로 정적으로 프로퍼티

DependencyProperty DefaultDictionary to set the fallback resource dictionary.
public static DependencyProperty,System.Windows DefaultDictionaryProperty
리턴 System.Windows.DependencyProperty