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

XFEExtension.NetCore.AutoConfig

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

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

namespace XFEExtension.NetCore.XUnit.Test;

public partial class SystemProfile : XFEProfile
{
    [ProfileProperty]
    private string? myText = "";
    [ProfileProperty]
    private int myInt = 0;

    public SystemProfile()
    {
        DefaultProfileOperationMode = ProfileOperationMode.Xml;
    }
}