JSON 文件配置源
internal sealed class JsonFileCfgSource : Apq.Cfg.Sources.File.FileCfgSourceBase, Apq.Cfg.Sources.IWritableCfgSource, Apq.Cfg.Sources.ICfgSource
Inheritance System.Object 🡒 FileCfgSourceBase 🡒 JsonFileCfgSource
Implements IWritableCfgSource, ICfgSource
| Constructors | |
|---|---|
| JsonFileCfgSource(string, int, bool, bool, bool, bool, EncodingOptions) | 初始化 JsonFileCfgSource 实例 |
| Methods | |
|---|---|
| ApplyChangesAsync(IReadOnlyDictionary<string,string>, CancellationToken) | 应用配置更改到 JSON 文件 |
| BuildSource() | 构建 Microsoft.Extensions.Configuration 的 JSON 配置源 |
| SetByColonKey(JsonObject, string, string) | 根据冒号分隔的键路径设置 JSON 对象中的值 |