using System.Collections.ObjectModel; namespace VPet.Solution.Models.SettingEditor; public class CustomizedSettingModel : ObservableClass { public const string TargetName = "diy"; #region Links private ObservableCollection _links = new(); public ObservableCollection Links { get => _links; set => SetProperty(ref _links, value); } #endregion } public class LinkModel : ObservableClass { #region Name private string _name; /// /// 名称 /// public string Name { get => _name; set => SetProperty(ref _name, value); } #endregion #region Link private string _link; /// /// 链接 /// public string Link { get => _link; set => SetProperty(ref _link, value); } #endregion public LinkModel() { } public LinkModel(string name, string link) { Name = name; Link = link; } }