I am writing a .NET3.5 WPF application using the Composite Application Library. The application is divided into several modules.
In the infrastructure module, I defined a NetworkNode object. The network module manages the NetworkNodes collection and uses the XmlSerializer to store / load this collection. So far, everything is working.
But I have other modules, for example NodeModule. If NetworkNode was selected in the network module, the event is published to other modules using the EventAggregator. These modules can connect various information to NetworkNode using the connected properties.
The problem is that NetworkModule is not aware of other modules, so these properties are not serialized. Can I somehow enumerate and serialize all the properties attached to an object? Or do I need to change the concept and use something else besides attached properties?
Hello
source
share