using System.ComponentModel;

namespace PixiEditor.UpdateInstaller;

public class ViewModelBase : INotifyPropertyChanged
{
    public event PropertyChangedEventHandler PropertyChanged = (sender, e) => { };

    protected void RaisePropertyChanged(string property)
    {
        if (property != null)
        {
            PropertyChanged(this, new PropertyChangedEventArgs(property));
        }
    }
}