mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
24 lines
545 B
C#
24 lines
545 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using FluentIcons.Common;
|
|
using LanDesktopPLONDS.Installer.Models;
|
|
|
|
namespace LanDesktopPLONDS.Installer.ViewModels;
|
|
|
|
public sealed partial class InstallerStepViewModel(
|
|
InstallerStepId stepId,
|
|
string title,
|
|
Icon icon) : ObservableObject
|
|
{
|
|
[ObservableProperty]
|
|
private bool _isUnlocked;
|
|
|
|
[ObservableProperty]
|
|
private bool _isSelected;
|
|
|
|
public InstallerStepId StepId { get; } = stepId;
|
|
|
|
public string Title { get; } = title;
|
|
|
|
public Icon Icon { get; } = icon;
|
|
}
|