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

Search Results for

    Edit this page

    Class YamlCommentInjector

    Namespace
    AetherUtils.Core.Configuration
    Assembly
    AetherUtils.Core.dll
    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.
    public static class YamlCommentInjector
    Inheritance
    object
    YamlCommentInjector
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()

    Methods

    ApplyToBuilder<T>(SerializerBuilder)

    Applies all attribute overrides to a YamlDotNet.Serialization.SerializerBuilder for the given config type.
    public static SerializerBuilder ApplyToBuilder<T>(SerializerBuilder builder) where T : class

    Parameters

    builder SerializerBuilder

    Returns

    SerializerBuilder

    Type Parameters

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