This commit is contained in:
Pascal
2025-11-14 11:35:40 +01:00
parent cd766f73fc
commit b4e4154445
8 changed files with 304 additions and 26 deletions

View 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; }
}