Index: test/Common/DelftTools.Utils.Tests/Aop/TestClasses/NotifiableTestClass.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- test/Common/DelftTools.Utils.Tests/Aop/TestClasses/NotifiableTestClass.cs (.../NotifiableTestClass.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ test/Common/DelftTools.Utils.Tests/Aop/TestClasses/NotifiableTestClass.cs (.../NotifiableTestClass.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -10,47 +10,59 @@ /// /// It makes things a bit more implicit but also more clean (hopefully not too clean :)). /// - [Entity(FireOnCollectionChange=false)] + [Entity(FireOnCollectionChange = false)] public class NotifiableTestClass { private string name = "some name"; public virtual string Name { - set { name = value; } - get { return name; } + set + { + name = value; + } + get + { + return name; + } } public virtual string AutoProperty { get; set; } + public string PrivateSetPublicGet { get; private set; } + public void SetNameUsingPrivateMethod(string name) { this.name = name; } - public string PrivateSetPublicGet { get; private set; } public void SetPropertyWithPrivateSetter(string value) { PrivateSetPublicGet = value; } - - private string PrivateProperty { get; set; } public void SetPrivateProperty(string value) { PrivateProperty = value; } - + + private string PrivateProperty { get; set; } } - [Entity(FireOnCollectionChange=false)] - public class NotifiableTestSubClass:NotifiableTestClass + [Entity(FireOnCollectionChange = false)] + public class NotifiableTestSubClass : NotifiableTestClass { //just a 'redundant override' here public override string Name { - set { base.Name= value; } - get { return base.Name; } + set + { + base.Name = value; + } + get + { + return base.Name; + } } } } \ No newline at end of file