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
-
YamlCommentInjector
- Inherited Members
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
builderSerializerBuilder
Returns
- SerializerBuilder
Type Parameters
T