Filtration/Filtration.Common/ViewModels/FiltrationViewModelBase.cs

18 lines
606 B
C#
Raw Permalink Normal View History

2015-06-04 13:15:54 -04:00
using System.Runtime.CompilerServices;
2015-06-26 12:42:20 -04:00
using Filtration.ObjectModel.Annotations;
2015-06-04 13:15:54 -04:00
using GalaSoft.MvvmLight;
2015-06-26 12:42:20 -04:00
namespace Filtration.Common.ViewModels
2015-06-04 13:15:54 -04:00
{
2015-06-26 12:42:20 -04:00
public class FiltrationViewModelBase : ViewModelBase
2015-06-04 13:15:54 -04:00
{
/// This gives us the ReSharper option to transform an autoproperty into a property with change notification
/// Also leverages .net 4.5 callermembername attribute
[NotifyPropertyChangedInvocator]
protected override void RaisePropertyChanged([CallerMemberName]string property = "")
{
base.RaisePropertyChanged(property);
}
}
}