Class AppSettings
- Namespace
- Arc4u
- Assembly
- Arc4u.Configuration.dll
The application-wide IAppSettings: the key/value pairs found in the AppSettings section of the configuration.
It is registered as a singleton through the Export/Shared attributes.
[Export(typeof(IAppSettings))]
[Shared]
public sealed class AppSettings : KeyValueSettings, IAppSettings, IKeyValueSettings
- Inheritance
-
AppSettings
- Implements
- Inherited Members
Constructors
AppSettings(IConfiguration)
Initializes a new instance of the AppSettings class from the AppSettings section of configuration.
public AppSettings(IConfiguration configuration)
Parameters
configurationIConfigurationThe configuration containing the
AppSettingssection.