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

HaloPixelToolBox

【WinUI3】基于USB HID通讯的花再音响工具箱

公开
关注 0 Fork 0 Star 0
UTF-8
using HaloPixelToolBox.Core.Models.Bar;
using XFEExtension.NetCore.AutoConfig;
using XFEExtension.NetCore.WinUIHelper.Utilities.Helper;

namespace HaloPixelToolBox.Client.Profiles.CacheProfiles;

public partial class CacheProfile : XFEProfile
{
    public CacheProfile() => ProfilePath = $@"{AppPathHelper.CacheProfile}\{nameof(CacheProfile)}";

    [ProfileProperty]
    [ProfilePropertyAddGet("Current.versionAddress.CurrentProfile = Current")]
    [ProfilePropertyAddGet("return Current.versionAddress")]
    private ProfileDictionary<string, AddressResolverModel> versionAddress = [];

    [ProfileProperty]
    [ProfilePropertyAddGet("Current.moduleAddress.CurrentProfile = Current")]
    [ProfilePropertyAddGet("return Current.moduleAddress")]
    private ProfileDictionary<string, AddressResolverModel> moduleAddress = [];
}