using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace ProxySU_Core.ViewModels { public abstract class BaseModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public void Notify(string propertyName) { if (PropertyChanged != null) { PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } } }