This project has moved and is read-only. For the latest updates, please go here.


Please, provide more first steps examples


<p>There are several howto examples in MUF unit tests, and in a Photo Tagger app. But they are quite complex to understand the general idea.</p> <p>Could you please provide some real world but simple examples?</p> <p>&nbsp;</p> <p>For example, I have a non-observable collection. How to undo/redo the collection edition?</p> <p>&nbsp;</p> <p>Thank you.</p>
Closed Jan 31, 2012 at 2:23 PM by


wrote Jan 31, 2012 at 2:23 PM

Resolved with changeset 13701.

nallenwagner wrote Jan 31, 2012 at 3:02 PM

I've added a sample WPF application that uses the undo framework. This should be a simpler codebase than the Photo Tagger app.

kore_sar wrote Jan 31, 2012 at 3:02 PM

Comments in MainWindow.xaml.cs are very useful. Thank you.

nallenwagner wrote Jan 31, 2012 at 3:02 PM

Regarding non-observable collections, you'd need to find a way to hook the add/remove/clear scenarios. If you own the collection code, then you can create your own derived class that intercepts these. Otherwise, you'll need to find the locations in the application that add/remove and inject the calls to create the ChangeSets there.