Class DefaultConfig
- Namespace
- AetherUtils.Core.Configuration
- Assembly
- AetherUtils.Core.dll
A DTO representing the default, bare configuration
of a new application. This class can be used as is,
or a new class can be created to store the configuration for an application.
This class can contain instances of other DTO
classes so long as those classes also have the ConfigAttribute on their properties.
If a new class is needed, it must be a DTO and it's properties should be marked with ConfigAttribute attributes in order to be saved and loaded from disk by a ConfigManager<T>.
public sealed class DefaultConfig
- Inheritance
-
DefaultConfig
- Inherited Members
- Extension Methods
Properties
ConnectionString
The connection string used for connecting to a database.
[Config("connectionString", "The connection string used for connecting to a database.", "host=;port=;user=;password=;database=;")]
[UsedImplicitly]
public string ConnectionString { get; set; }
Property Value
LicenseFile
The full path to a valid license file for an application.
[Config("licenseFile", "The full path to a valid license file for an application.", "")]
[UsedImplicitly]
public string LicenseFile { get; set; }
Property Value
LogOptions
A collection of options used for logging.
[Config("logOptions", "A collection of options used for logging.", null)]
[UsedImplicitly]
public LogOptions LogOptions { get; set; }