mvvm - Event aggregator and collections -


I want to use an event aggregator to synchronize my view modal with the view (overshow model model around ), It is very simple to implement in the model, simply inform the settings of the properties.

But when the collection of models is made, it becomes more complex where the code should be informed, should it be reported? What will be the collection interface in the model? The IList?

I have thought that the only solution is in the form of a base class, which will use the reflection to repeat through all the ILIIST areas, try to INAtifyCollectionChanged them and add an event handler

Any thoughts?

Thanks in advance, Eric.

Comments

Popular posts from this blog

MySql variables and php -

php - Laravel - Overriding a resource route into a different route filter group -

url rewriting - How to implement the returnurl like SO in PHP? -