Table of Contents

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

eventAggregator IEventAggregator

The event aggregator to use.

listViewData ListViewData<T>

The data of the list view.

Type Parameters

T

The 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

eventAggregator IEventAggregator

The event aggregator instance.

filter Expression<Func<T, bool>>

The filter expression to apply to the list.

header string

The header text for the list.

Type Parameters

T

The 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

eventAggregator IEventAggregator

The Prism.Events.IEventAggregator instance.

entityType Type

The type of the entity.