Frage

In silverlight-MVVM applications, we have to use some kind of mediator/even aggregator file..to commuunicate between different viewmodels.

But I can see that these files maintains list(or dictionary) of objects ...

wont this be using huge amount of memory...? And in case of a web pplication (if it is WPF, that is okay)...is this something recommended ?

Any help would be appreciated. Thanks in advance!

War es hilfreich?

Lösung

No. Remember it is not making copies of the objects, just pointers to them. However, some implementations of this pattern can cause memory leaks if you do not unregister your objects when you are done with them.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top