Otherwise than pointed out in this post I would like to act just before an XmlSerializer starts deserializing (not when finished deserializing)
Background: I have a baseClass that implements INotifyPropertyChanged
. This BaseClass is stored as xml in a database and when retrieved deserialized into an object instance. The deserialization executes the setters of this class where my ChangeNotification takes place. On a centralised handler for the changenotification I set the status of the object and keep track of stacks for undoing changes. Apparently I don't want these to be trigerred during deserialization.
Any ideas would be very welcome!