Created
October 23, 2019 04:34
-
-
Save IntegerMan/401f05b52fd2e78640652bbb5d9bff5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal abstract class NotifyPropertyChangedBase : INotifyPropertyChanged | |
{ | |
public event PropertyChangedEventHandler PropertyChanged; | |
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) => | |
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment