using ReactiveUI; using HeroIconsAvalonia.Enums; namespace AuroraDesk.Core.Entities; /// /// HeroIcons 图标数据模型 /// public class HeroIconItem : ReactiveObject { private IconType _iconType; private IconKind _iconKind = IconKind.Outline; public IconType IconType { get => _iconType; set => this.RaiseAndSetIfChanged(ref _iconType, value); } public IconKind IconKind { get => _iconKind; set => this.RaiseAndSetIfChanged(ref _iconKind, value); } public string DisplayName => $"{IconType} ({IconKind})"; }