C# Class BamlLocalization.BamlLocalizabilityByReflection

Inheritance: System.Windows.Markup.Localizer.BamlLocalizabilityResolver
Mostra file Open project: JeremyDurnell/locbaml Class Usage Examples

Public Methods

Method Description
BamlLocalizabilityByReflection ( ) : System
GetElementLocalizability ( string assembly, string className ) : System.Windows.Markup.Localizer.ElementLocalizability

Return the localizability of an element to the BamlLocalizer

GetPropertyLocalizability ( string assembly, string className, string property ) : System.Windows.LocalizabilityAttribute

return localizability of a property to the BamlLocalizer

ResolveAssemblyFromClass ( string className ) : string

Resolve a class name back to its containing assembly

ResolveFormattingTagToClass ( string formattingTag ) : string

Resolve a formatting tag back to the actual class name

Private Methods

Method Description
DependencyPropertyFromName ( string propertyName, Type propertyType ) : DependencyProperty
GetAssemblyShortName ( string assemblyFullName ) : string
GetCompatibleAssemblyName ( string shortName ) : string
GetLocalizabilityForAttachedProperty ( string propertyName, Type owner, System.Windows.LocalizabilityAttribute &localizability, Type &propertyType ) : void

Get localizability for attached property

GetLocalizabilityForClrProperty ( string propertyName, Type owner, System.Windows.LocalizabilityAttribute &localizability, Type &propertyType ) : void

Get the localizability of a CLR property

GetLocalizabilityFromType ( Type type ) : System.Windows.LocalizabilityAttribute

gets the localizabiity attribute of a given the type

GetType ( string assemblyName, string className ) : Type

Method Details

BamlLocalizabilityByReflection() public method

public BamlLocalizabilityByReflection ( ) : System
return System

GetElementLocalizability() public method

Return the localizability of an element to the BamlLocalizer
public GetElementLocalizability ( string assembly, string className ) : System.Windows.Markup.Localizer.ElementLocalizability
assembly string
className string
return System.Windows.Markup.Localizer.ElementLocalizability

GetPropertyLocalizability() public method

return localizability of a property to the BamlLocalizer
public GetPropertyLocalizability ( string assembly, string className, string property ) : System.Windows.LocalizabilityAttribute
assembly string
className string
property string
return System.Windows.LocalizabilityAttribute

ResolveAssemblyFromClass() public method

Resolve a class name back to its containing assembly
public ResolveAssemblyFromClass ( string className ) : string
className string
return string

ResolveFormattingTagToClass() public method

Resolve a formatting tag back to the actual class name
public ResolveFormattingTagToClass ( string formattingTag ) : string
formattingTag string
return string