Method PublishListShowEvent
- Namespace
- Innova.Prism.Infrastructure.Events
- Assembly
- Innova.Prism.Infrastructure.dll
PublishListShowEvent<T>(IEventAggregator, ListViewData<T>)
Publishes a list show event using the specified event aggregator.
public static void PublishListShowEvent<T>(this IEventAggregator eventAggregator, ListViewData<T> listViewData = null) where T : class
Parameters
eventAggregatorIEventAggregatorThe event aggregator to use.
listViewDataListViewData<T>The data of the list view.
Type Parameters
TThe type of the items in the list.
PublishListShowEvent<T>(IEventAggregator, Expression<Func<T, bool>>, string)
Publishes a list show event with the specified filter and header.
public static void PublishListShowEvent<T>(this IEventAggregator eventAggregator, Expression<Func<T, bool>> filter, string header = null) where T : class
Parameters
eventAggregatorIEventAggregatorThe event aggregator instance.
filterExpression<Func<T, bool>>The filter expression to apply to the list.
headerstringThe header text for the list.
Type Parameters
TThe type of the items in the list.
Remarks
This method publishes a ListShowEvent<T> with the specified filter and header. The event carries a ListViewData<T> object that contains the filter and header information.
PublishListShowEvent(IEventAggregator, Type)
Publishes a show list event for the specified entity type.
public static void PublishListShowEvent(this IEventAggregator eventAggregator, Type entityType)
Parameters
eventAggregatorIEventAggregatorThe Prism.Events.IEventAggregator instance.
entityTypeTypeThe type of the entity.