aurora/Aurora/Frontend/Views/BaseViewModel.cs
2019-05-18 17:25:36 -04:00

25 lines
611 B
C#

using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Aurora.Frontend.Views
{
public class BaseViewModel
{
public BaseViewModel()
{
}
#region INotifyPropertyChanged Implementation
public event PropertyChangedEventHandler PropertyChanged;
public void OnPropertyChanged([CallerMemberName] string propertyName = "")
{
if (PropertyChanged == null)
return;
PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
#endregion
}
}