Index: test/Common/DelftTools.Utils.Tests/Aop/TestClasses/TreeClient.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- test/Common/DelftTools.Utils.Tests/Aop/TestClasses/TreeClient.cs (.../TreeClient.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ test/Common/DelftTools.Utils.Tests/Aop/TestClasses/TreeClient.cs (.../TreeClient.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -5,29 +5,33 @@ { public class TreeClient { + public event EventHandler RootChanged; private ClassImplementingIEventedList root; public TreeClient() { Root = new ClassImplementingIEventedList(); } - public Utils.Tests.Aop.TestClasses.ClassImplementingIEventedList Root + public ClassImplementingIEventedList Root { - get { return root; } + get + { + return root; + } set { root = value; - ((INotifyCollectionChange)root).CollectionChanged += root_CollectionChanged; + ((INotifyCollectionChange) root).CollectionChanged += root_CollectionChanged; } } - void root_CollectionChanged(object sender, NotifyCollectionChangingEventArgs e) + private void root_CollectionChanged(object sender, NotifyCollectionChangingEventArgs e) { if (RootChanged != null) + { RootChanged(this, new EventArgs()); + } } - public event EventHandler RootChanged; - } } \ No newline at end of file