title: IsDirty implementation for WPF
body: <p>Does anyone have an IsDirty implementation they find particularly useful? Ideally I'd like to support Undo but not have to lug a framework like CSLA in. I'd also prefer an implementation that favors composition over inheritance.</p>
  
  <p>I'm working with WPF with a ViewModel slant right now (INotifyPropertyChanged). The last <a href="https://stackoverflow.com/questions/200887/object-editing-and-isdirty-flag">SO question</a> I've seen is a bit old and doesn't fully address what I'm asking in this one.</p>
  
  <p>Cheers,<br>
  Berryl</p>
  
  <p>======= Other Good SO Answers to IsDirty checking =======</p>
  
  <p>I found these after I posted and answered this, <a href="https://stackoverflow.com/questions/553882/different-ways-to-implement-dirty-functionality/553910">here</a> and <a href="https://stackoverflow.com/questions/805505/c-marking-class-property-as-dirty">here</a></p>