Class ExportOptions
配置导出选项
public sealed class ExportOptions
- Inheritance
-
ExportOptions
- Inherited Members
Properties
EnvPrefix
环境变量格式的键前缀
public string? EnvPrefix { get; set; }
Property Value
ExcludeKeys
排除指定的键(支持通配符 *)
public string[]? ExcludeKeys { get; set; }
Property Value
- string[]
IncludeKeys
仅包含指定的键(支持通配符 *),为 null 时包含所有键
public string[]? IncludeKeys { get; set; }
Property Value
- string[]
IncludeMetadata
是否包含元数据(导出时间、版本等)
public bool IncludeMetadata { get; set; }
Property Value
Indented
JSON 格式化选项:是否缩进
public bool Indented { get; set; }
Property Value
MaskSensitiveValues
是否对敏感值进行脱敏处理
public bool MaskSensitiveValues { get; set; }