对象绑定器,支持嵌套对象和集合绑定
internal static class ObjectBinder
Inheritance System.Object 🡒 ObjectBinder
此类使用反射进行配置绑定,不支持 Native AOT。 对于 AOT 场景,请使用 Apq.Cfg.SourceGenerator 包中的 [CfgSection] 特性。
| Methods | |
|---|---|
| BindObject(ICfgSection, object, Type) | 将配置节绑定到对象(非泛型版本) |
| BindSection<T>(ICfgSection, T) | 将配置节绑定到对象 |