namespace VideoBrowser.Common { using System.ComponentModel; using System.Runtime.CompilerServices; /// /// Defines the /// Standard INotifyPropertyChanged implementation. /// public class NotifyPropertyChanged : INotifyPropertyChanged { /// /// Defines the PropertyChanged /// public event PropertyChangedEventHandler PropertyChanged; /// /// The property changed handler /// protected PropertyChangedEventHandler PropertyChangedHandler => this.PropertyChanged; /// /// The OnPropertyChanged /// /// The public void OnPropertyChanged([CallerMemberName]string propertyName = null) { this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } }