I have created a prism project consisting of two modules (dll's). The two modules are loaded within a shell and build up following the MVVM pattern.
Module1 receives data which should be transferred (as fast as possible) to Module2. This data could be stored in an observablecollection for example. Which means that if this observablecollection is updated it should update the view in module2. It is a lot of data, so I would not use the eventaggregator for that.
I read something about dependency injection but I'm not sure how to do it. I found several examples where a submit button was pushed to transfer data between two modules. I guess what I need would be somehow a reference of the observablecollection(module1) within the module2. Shared services is another keyword I found.
What would be a good solution to solve this?
An example with an mvvm pattern would be great. I'm new to prism so please be kind.