Aether Utilities Aether Utilities
Aether Utilities Aether Utilities
DocFX + Singulink = ♥

Search Results for

    Edit this page

    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.

    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>.

    This class can contain instances of other DTO classes so long as those classes also have the ConfigAttribute on their properties.
    public sealed class DefaultConfig
    Inheritance
    object
    DefaultConfig
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Extension Methods
    TypeExtensions.CanSerializeJson<T>(T)
    TypeExtensions.CanSerializeXml<T>(T)
    TypeExtensions.SerializeJson<T>(T)
    TypeExtensions.SerializeXml<T>(T)

    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

    string

    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

    string

    LogOptions

    A collection of options used for logging.
    [Config("logOptions", "A collection of options used for logging.", null)]
    [UsedImplicitly]
    public LogOptions LogOptions { get; set; }

    Property Value

    LogOptions
    (c) 2024 Ethan Hann. All rights reserved.