spc-kiosk-pb/Kiosk/Common/SPC.Kiosk.Base/ViewModelBase.cs
2019-06-16 14:12:09 +09:00

27 lines
629 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace SPC.Kiosk.Base
{
/// <summary>
/// Basic View Model
/// </summary>
public abstract class ViewModelBase : INotifyPropertyChanged
{
/// <summary>
/// View Model a Member PropertyChanged EventHandler
/// </summary>
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void PropertyChange(string propName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propName));
}
}
}