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
eventAggregatorIEventAggregatorThe event aggregator to use for publishing the entities.
listList<T>The list of entities to publish.
Type Parameters
TThe 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
eventAggregatorIEventAggregatorThe event aggregator.
entityTThe entity to publish.
Type Parameters
TThe type of the entity.