1 //----------------------------------------------------------------
2 // <copyright company="Microsoft Corporation">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //----------------------------------------------------------------
7 namespace System.Activities.Presentation
9 using System.ComponentModel;
11 internal abstract class ViewModel : INotifyPropertyChanged
13 public event PropertyChangedEventHandler PropertyChanged;
15 protected void NotifyPropertyChanged(string propertyName)
17 if (this.PropertyChanged != null)
19 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));