Class AppSettingsManager
Manages the loading of application settings with IAppSettingsProvider.
public static class AppSettingsManager
- Inheritance
-
AppSettingsManager
Properties
Settings
Gets AppSettings instance for the application.
public static AppSettings Settings { get; }
Property Value
Remarks
Loaded with an IAppSettingsProvider. If no provider implementation is found, returns empty AppSettings instance.
SettingsProvider
Gets or sets an IAppSettingsProvider for the application.
public static IAppSettingsProvider SettingsProvider { get; set; }
Property Value
Remarks
If provider is not set, getter of this property will attempt to find an implementation among the registered assemblies and cache it.
Methods
ReloadSettings()
Clears cached settings value and calls LoadAppSettings() on the SettingsProvider.
public static void ReloadSettings()