Geert van Horrik
Geert van Horrik
We don't use this (often) ourselves. But in order to apply the validation, the code must get the values since the validationcontext from system.componentmodel needs the value during validation. This...
The xml serializer is used to create a backup of the model, but it's better if this is moved outside the ModelBase. This simplifies the ModelBase. Creating a backup could...
When this implementation is needed, it can be added to any object by the users themselves. This will greatly simplify the ModelBase and reduce the need for any internal serialization.
There are better ways to (de)serialize objects nowadays (e.g. json), so best to remove this high-maintenance / complex implementation.
Related ticket: https://github.com/Catel/Catel.Fody/issues/603 It hardly makes sense to raise change notifications for properties changed in the ctor. *if* a change is truely needed, one could call the handler manually. Whenever...