Свойство | Тип | Описание | |
---|---|---|---|
AvailableCultureListLock | object | ||
ResourceManagerList | ResourceManager>.Dictionary | ||
ResourceManagerListLock | object |
Метод | Описание | |
---|---|---|
ClearResourceManagerList ( ) : void |
Clears the whole list of cached resource managers.
|
|
GetFullyQualifiedResourceKey ( String key, |
Uses the key and target to build a fully qualified resource key (Assembly, Dictionary, Key)
|
|
GetLocalizedObject ( string key, |
Get the localized object.
|
|
ParseKey ( string inKey, string &outAssembly, string &outDict, string &outKey ) : void |
Parses a key ([[Assembly:]Dict:]Key and return the parts of it.
|
|
UpdateCultureList ( string resourceAssembly, string resourceDictionary ) : bool |
Updates the list of available cultures using the given resource location.
|
Метод | Описание | |
---|---|---|
Add ( string thekey, |
Thread-safe access to the resource manager dictionary.
|
|
AddCulture ( |
Thread-safe access to the AvailableCultures list.
|
|
GetAssembly ( |
Get the assembly from the context, if possible.
|
|
GetAssemblyName ( |
Returns the AssemblyName of the passed assembly instance
|
|
GetDictionary ( |
Get the dictionary from the context, if possible.
|
|
GetResourceManager ( string resourceAssembly, string resourceDictionary ) : |
Looks up in the cached ResourceManager list for the searched ResourceManager.
|
|
OnProviderChanged ( |
Calls the ILocalizationProvider.ProviderChanged event.
|
|
OnProviderError ( |
Calls the ILocalizationProvider.ProviderError event.
|
|
OnValueChanged ( string key, object value, object tag ) : void |
Calls the ILocalizationProvider.ValueChanged event.
|
|
TryGetValue ( string thekey, |
Thread-safe access to the resource manager dictionary.
|
|
TryRemove ( string thekey ) : void |
Tries to remove a key from the resource manager dictionary.
|
Метод | Описание | |
---|---|---|
GetExecutablePath ( int processId ) : string |
Get the executable path for both x86 and x64 processes.
|
|
GetResourceManagerFromType ( |
||
IsFileOfInterest ( string f, string dir ) : bool |
protected Add ( string thekey, |
||
thekey | string | Key. |
value | Value. | |
Результат | void |
protected AddCulture ( |
||
c | The CultureInfo. | |
Результат | void |
public ClearResourceManagerList ( ) : void | ||
Результат | void |
protected abstract GetAssembly ( |
||
target | The target object. | |
Результат | string |
protected GetAssemblyName ( |
||
assembly | The Assembly where to get the name from | |
Результат | string |
protected abstract GetDictionary ( |
||
target | The target object. | |
Результат | string |
public GetFullyQualifiedResourceKey ( String key, |
||
key | String | Key used as a base to find the full key |
target | Target used to help determine key information | |
Результат | FullyQualifiedResourceKeyBase |
public GetLocalizedObject ( string key, |
||
key | string | The key to the value. |
target | The target object. | |
culture | The culture to use. | |
Результат | object |
protected GetResourceManager ( string resourceAssembly, string resourceDictionary ) : |
||
resourceAssembly | string | The resource assembly. |
resourceDictionary | string | The dictionary to look up. |
Результат |
protected OnProviderChanged ( |
||
target | The target object. | |
Результат | void |
protected OnProviderError ( |
||
target | The target object. | |
key | string | The key. |
message | string | The error message. |
Результат | void |
protected OnValueChanged ( string key, object value, object tag ) : void | ||
key | string | The key where the value was changed. |
value | object | The new value. |
tag | object | A custom tag. |
Результат | void |
public static ParseKey ( string inKey, string &outAssembly, string &outDict, string &outKey ) : void | ||
inKey | string | The key to parse. |
outAssembly | string | The found or default assembly. |
outDict | string | The found or default dictionary. |
outKey | string | The found or default key. |
Результат | void |
protected TryGetValue ( string thekey, |
||
thekey | string | Key. |
result | Value. | |
Результат | bool |
protected TryRemove ( string thekey ) : void | ||
thekey | string | Key. |
Результат | void |
public UpdateCultureList ( string resourceAssembly, string resourceDictionary ) : bool | ||
resourceAssembly | string | The resource assembly. |
resourceDictionary | string | The dictionary to look up. |
Результат | bool |
protected object AvailableCultureListLock | ||
Результат | object |
protected Dictionary |
||
Результат | ResourceManager>.Dictionary |