XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.AutoConfig

【DLL】自动实现配置文件的存储

公开
关注 0 Fork 0 Star 0
UTF-8
namespace XFEExtension.NetCore.AutoConfig;

/// <summary>
/// 由配置实例拥有、在发生变更时能够请求自动保存的集合。
/// 生成器会在初始化和赋值时自动绑定所属配置实例。
/// </summary>
public interface IProfileOwnedCollection
{
    /// <summary>拥有此集合的配置实例。</summary>
    XFEProfile? CurrentProfile { get; set; }
}