Add project files.
This commit is contained in:
20
QuickMVVMSetup/ChangeNotifier.cs
Normal file
20
QuickMVVMSetup/ChangeNotifier.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Input;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace QuickMVVMSetup
|
||||
{
|
||||
public class ChangeNotifier : INotifyPropertyChanged
|
||||
{
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
protected void OnPropertyChanged(string propName)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propName));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user