Crunchy-Downloader/CRD/ViewModels/ViewModelBase.cs

12 lines
362 B
C#
Raw Permalink Normal View History

2024-05-04 15:35:32 +00:00
using System.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
namespace CRD.ViewModels;
public class ViewModelBase : ObservableObject{
public event PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propName){
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propName));
}
}