Add [XmlIgnore] to IsNotifying in PropertyChangedBase

Jan 17, 2012 at 10:03 AM

Hello,

The property IsNotifying is causing problems when xml serializing classes that inherits PropertyChangedBase. I cannot think of when anyone would like to serialize that property. If there is such case the specified pattern can be used.

 

        /// 
        /// Used to hide IsNotifying property of base from XmlSerialization if property is set to false
        /// http://stackoverflow.com/questions/592671/overriding-a-property-with-an-attribute
        /// 
        [System.Xml.Serialization.XmlIgnoreAttribute]
        public bool IsNotifyingSpecified = false;

Coordinator
Jan 17, 2012 at 3:13 PM

I created a ticket for this so I can add a ShouldSerializeIsNotifying method. The default will return false.

Coordinator
Jan 17, 2012 at 6:26 PM

Fixed in latest source.

Mar 11, 2015 at 6:19 PM
unfortunately this doesn't seem to be fixed :(