Table of Contents

Method PublishEntitySelectedEvent

Namespace
Innova.Prism.Infrastructure.Events
Assembly
Innova.Prism.Infrastructure.dll

PublishEntitySelectedEvent<T>(IEventAggregator, PrimaryKeys<T>)

Publishes an entity selected event with the specified primary keys.

public static void PublishEntitySelectedEvent<T>(this IEventAggregator eventAggregator, PrimaryKeys<T> keys)

Parameters

eventAggregator IEventAggregator

The event aggregator instance.

keys PrimaryKeys<T>

The primary keys of the entity.

Type Parameters

T

The type of the entity.

PublishEntitySelectedEvent<T>(IEventAggregator, T)

Publishes an entity selected event using the specified event aggregator.

public static void PublishEntitySelectedEvent<T>(this IEventAggregator eventAggregator, T entity) where T : class, IEntityWithKey<T>

Parameters

eventAggregator IEventAggregator

The event aggregator to use.

entity T

The entity to publish the event for.

Type Parameters

T

The type of the entity.

Remarks

This method publishes an entity selected event for the specified entity using the event aggregator. The entity must implement the IEntityWithKey<T> interface.