SPT-AKI-Installer/SPTInstaller/Models/PreCheckDetailInfo.cs

64 lines
1.4 KiB
C#
Raw Permalink Normal View History

using System.Windows.Input;
using ReactiveUI;
using SPTInstaller.CustomControls;
namespace SPTInstaller.Models;
public class PreCheckDetailInfo : ReactiveObject
{
public PreCheckDetailInfo()
{
_name = "";
_details = "";
_actionButtonText = "";
_showActionButton = false;
}
private string _name;
2024-05-01 10:31:55 -04:00
public string Name
{
get => _name;
set => this.RaiseAndSetIfChanged(ref _name, value);
}
2024-05-01 10:31:55 -04:00
private string _details;
2024-05-01 10:31:55 -04:00
public string Details
{
get => _details;
set => this.RaiseAndSetIfChanged(ref _details, value);
}
2024-05-01 10:31:55 -04:00
private string _actionButtonText;
2024-05-01 10:31:55 -04:00
public string ActionButtonText
{
get => _actionButtonText;
set => this.RaiseAndSetIfChanged(ref _actionButtonText, value);
}
2024-05-01 10:31:55 -04:00
private ICommand _actionButtonCommand;
2024-05-01 10:31:55 -04:00
public ICommand ActionButtonCommand
{
get => _actionButtonCommand;
set => this.RaiseAndSetIfChanged(ref _actionButtonCommand, value);
}
2024-05-01 10:31:55 -04:00
private bool _showActionButton;
2024-05-01 10:31:55 -04:00
public bool ShowActionButton
{
get => _showActionButton;
set => this.RaiseAndSetIfChanged(ref _showActionButton, value);
}
2024-05-01 10:31:55 -04:00
private string _barColor;
2024-05-01 10:31:55 -04:00
public string BarColor
{
get => _barColor;
set => this.RaiseAndSetIfChanged(ref _barColor, value);
}
}