18 lines
606 B
C#
18 lines
606 B
C#
using System.Runtime.CompilerServices;
|
|
using Filtration.ObjectModel.Annotations;
|
|
using GalaSoft.MvvmLight;
|
|
|
|
namespace Filtration.Common.ViewModels
|
|
{
|
|
public class FiltrationViewModelBase : ViewModelBase
|
|
{
|
|
/// 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);
|
|
}
|
|
}
|
|
}
|