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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -