I want to take advantage of the powerful EventAggregator
pattern for non-WPF backend systems written in C#.
A. Is that even a good idea? Is there a specific reason why this is implemented mostly by frontend frameworks?
B. If it is, does anyone know a framework (Not Prism obviously) that supports that or can provide some kind of skeleton I can work with?
Thanks to the breaking down of the Prism, I was able to only use the PubSubEvents library. All I had to do is to add a MEF wrapper class with Export
and PartCreationPolicy
attributes
[Export(typeof(IEventAggregator))]
[PartCreationPolicy(CreationPolicy.Shared)]
public class MefEventAggregator : EventAggregator
{
}