Files
minecraft-modpack-updater/ModpackUpdater.Apps.Manager/Ui/Models/MainWindowViewModel.cs
2025-11-14 11:35:40 +01:00

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