using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace MauiTestApp.ViewModels
{
    public class ViewModelBase : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        protected void OnPropertyChanged([CallerMemberName] string name = "") =>
            PropertyChanged.Invoke(this, new PropertyChangedEventArgs(name));
    }
}
