Class ExportContext
导出上下文,提供导出时的元数据和选项
public sealed class ExportContext
- Inheritance
-
ExportContext
- Inherited Members
Properties
EnvPrefix
环境变量格式的键前缀
public string? EnvPrefix { get; init; }
Property Value
ExportedAt
导出时间(UTC)
public DateTime ExportedAt { get; init; }
Property Value
IncludeMetadata
是否包含元数据
public bool IncludeMetadata { get; init; }
Property Value
Indented
是否缩进格式化
public bool Indented { get; init; }
Property Value
KeyCount
配置键数量
public int KeyCount { get; init; }
Property Value
Properties
自定义属性,供自定义导出器使用
public IDictionary<string, object?> Properties { get; }