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