Crunchy-Downloader/CRD/ViewModels/ViewModelBase.cs

13 lines
376 B
C#
Raw Permalink Normal View History

using System;
using System.ComponentModel;
2024-05-04 15:35:32 +00:00
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));
}
}