Apq.Cfg.Ini.IniFileCfgSource.md 1.8 KB

Apq.Cfg.Ini

IniFileCfgSource Class

INI 文件配置源,支持读取和写入 INI 格式的配置文件

internal sealed class IniFileCfgSource : Apq.Cfg.Sources.File.FileCfgSourceBase, Apq.Cfg.Sources.IWritableCfgSource, Apq.Cfg.Sources.ICfgSource

Inheritance System.Object 🡒 Apq.Cfg.Sources.File.FileCfgSourceBase 🡒 IniFileCfgSource

Implements Apq.Cfg.Sources.IWritableCfgSource, Apq.Cfg.Sources.ICfgSource

Constructors
IniFileCfgSource(string, int, bool, bool, bool, bool) 初始化 IniFileCfgSource 实例
Methods
ApplyChangesAsync(IReadOnlyDictionary<string,string>, CancellationToken) 应用配置更改到 INI 文件
BuildSource() 构建 Microsoft.Extensions.Configuration 的 INI 配置源