C# WPF Caliburn Micro Event Aggregation for services

Viewed 11

I am fairly new to MVVM. I find a lot of examples, where ViewModels can publish events to other VMs using event aggregations. My question is: Can I use the event aggregation to publish an event from a model, service or helper class, and VMs are reacting to it?

Example: Helper class using tapi3.dll to implement tapi features. I now want to sent the TAPI_EVENTS as events to VMs to react to incoming calls (e.g. display different Usercontrol)

Is this possible? Or do I break the MVVM pattern?

Thanks!

0 Answers
Related