Method PublishEntityToMenus
- Namespace
- Innova.Prism.Infrastructure.Events
- Assembly
- Innova.Prism.Infrastructure.dll
PublishEntityToMenus<T>(IEventAggregator, List<T>)
Publishes a list of entities to the corresponding menus using the specified event aggregator.
public static void PublishEntityToMenus<T>(this IEventAggregator eventAggregator, List<T> list) where T : class
Parameters
eventAggregator
IEventAggregatorThe event aggregator to use for publishing the entities.
list
List<T>The list of entities to publish.
Type Parameters
T
The type of entities in the list.
PublishEntityToMenus<T>(IEventAggregator, T)
Publishes the specified entity to menus.
public static void PublishEntityToMenus<T>(this IEventAggregator eventAggregator, T entity) where T : class
Parameters
eventAggregator
IEventAggregatorThe event aggregator.
entity
TThe entity to publish.
Type Parameters
T
The type of the entity.