环境变量配置源
internal sealed class EnvVarsCfgSource : Apq.Cfg.Sources.ICfgSource
Inheritance System.Object 🡒 EnvVarsCfgSource
Implements ICfgSource
| Constructors | |
|---|---|
| EnvVarsCfgSource(string, int) | 初始化 EnvVarsCfgSource 实例 |
| Properties | |
|---|---|
| IsPrimaryWriter | 获取是否为主要写入源,环境变量配置源不支持写入,因此始终为 false |
| IsWriteable | 获取是否可写,环境变量配置源不支持写入,因此始终为 false |
| Level | 获取配置层级,数值越大优先级越高 |
| Methods | |
|---|---|
| BuildSource() | 构建 Microsoft.Extensions.Configuration 的环境变量配置源 |