update
This commit is contained in:
24
ModpackUpdater.Apps.Manager/Ui/Models/MainWindowViewModel.cs
Normal file
24
ModpackUpdater.Apps.Manager/Ui/Models/MainWindowViewModel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user