문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top