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

Search Results for

    Namespace AetherUtils.Core.Configuration

    Classes

    ConfigDefaultsApplier
    Applies default values defined in ConfigAttribute to config objects after deserialization.
    ConfigManagerFactory
    Factory for creating and initializing configuration managers that optionally apply default values using a custom DTO configuration class and/or a custom ConfigManager<T> config manager class.
    ConfigManager<T>
    Provides methods for saving, loading, and querying a generic YAML configuration.
    DefaultConfig
    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.
    DefaultConfigManager
    A default implementation of ConfigManager<T> allowing for passing the configuration file path directly in.
    LogOptions
    A DTO representing options for how log files are handled and formatted for an application.
    YamlCommentInjector
    Applies YAML comments to properties marked with a ConfigAttribute by generating YamlDotNet.Serialization.YamlMemberAttribute overrides dynamically. This allows Description to appear as YAML comments without requiring per-property annotations.
    (c) 2024 Ethan Hann. All rights reserved.