Свойство | Type | Description | |
---|---|---|---|
ConfigurationMode | ConfigurationModes | ||
Current | |||
LoadedProviders | List |
||
ResourceSetValueConverters | List |
Méthode | Description | |
---|---|---|
AddResourceSetValueConverter ( IResourceSetValueConverter converter ) : void | ||
ClearResourceCache ( ) : void |
This static method clears all resources from the loaded Resource Providers and forces them to be reloaded the next time they are requested. Use this method after you've edited resources in the database and you want to refresh the UI to show the newly changed values. This method works by internally tracking all the loaded ResourceProvider instances and calling the IwwResourceProvider.ClearResourceCache() method on each of the provider instances. This method is called by the Resource Administration form when you explicitly click the Reload Resources button.
|
|
CreateDbResourceDataManager ( ) : |
Creates an instance of the DbResourceDataManager based on configuration settings
|
Méthode | Description | |
---|---|---|
OnCreateDefaultProvider ( string sectionName, object configData ) : IConfigurationProvider |
Override this method to create the custom default provider. Here we allow for different configuration providers so we don't have to rely on .NET configuration classed (for vNext)
|
Méthode | Description | |
---|---|---|
DbResourceConfiguration ( ) : System |
Static constructor for the Current property - guarantees this code fires exactly once giving us a singleton instance of the configuration object.
|
public AddResourceSetValueConverter ( IResourceSetValueConverter converter ) : void | ||
converter | IResourceSetValueConverter | |
Résultat | void |
public static ClearResourceCache ( ) : void | ||
Résultat | void |
public static CreateDbResourceDataManager ( ) : |
||
Résultat |
protected OnCreateDefaultProvider ( string sectionName, object configData ) : IConfigurationProvider | ||
sectionName | string | |
configData | object | |
Résultat | IConfigurationProvider |
public static ConfigurationModes ConfigurationMode | ||
Résultat | ConfigurationModes |
public static DbResourceConfiguration,Westwind.Globalization Current | ||
Résultat |