Method PublishEvent
- Namespace
- Innova.Prism.Library.ExtensionMethods
- Assembly
- Innova.Prism.Library.dll
PublishEvent<T>(IEventAggregator, object)
public static void PublishEvent<T>(this IEventAggregator eventAggregator, object payLoad) where T : PubSubEvent<object>, new()
Parameters
eventAggregatorIEventAggregatorpayLoadobject
Type Parameters
T
PublishEvent<EventType, PayLoadType>(IEventAggregator, PayLoadType)
public static void PublishEvent<EventType, PayLoadType>(this IEventAggregator eventAggregator, PayLoadType payLoad) where EventType : PubSubEvent<PayLoadType>, new()
Parameters
eventAggregatorIEventAggregatorpayLoadPayLoadType
Type Parameters
EventTypePayLoadType