24 lines
732 B
C#
24 lines
732 B
C#
using System.ComponentModel;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace ModpackUpdater.Apps.Manager.Ui.Models;
|
|
|
|
public class MainWindowViewModel : INotifyPropertyChanged
|
|
{
|
|
#region Implementation of INotifyPropertyChanged
|
|
|
|
public event PropertyChangedEventHandler? PropertyChanged;
|
|
|
|
protected virtual void OnPropertyChanged([CallerMemberName] string? propertyName = null)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
|
|
#endregion Implementation of INotifyPropertyChanged
|
|
|
|
public bool IsUpdate { get; set; }
|
|
|
|
public List<InstallActionViewModel> Actions { get; } = [];
|
|
|
|
public InstallActionViewModel? SelectedAction { get; set; }
|
|
} |