Flow.Launcher/Flow.Launcher.Plugin/BaseModel.cs
2020-04-21 21:27:02 +10:00

17 lines
No EOL
504 B
C#

using System.ComponentModel;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
namespace Flow.Launcher.Plugin
{
public class BaseModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
[NotifyPropertyChangedInvocator]
protected void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}