Table of Contents

Class NotificationHandlers<T1, T2, T3>

Namespace
Arc4u.Dispatcher.Notification
Assembly
Arc4u.Dispatcher.dll

Implements INotificationHandlers<T1, T2, T3> and fetches the INotificationHandler<T1, T2, T3> registered in the dependency injection container.

public class NotificationHandlers<T1, T2, T3> : INotificationHandlers<T1, T2, T3>

Type Parameters

T1

The type of the notification value number 1.

T2

The type of the notification value number 2.

T3

The type of the notification value number 3.

Inheritance
NotificationHandlers<T1, T2, T3>
Implements
Inherited Members
Extension Methods

Constructors

NotificationHandlers(IServiceProvider)

Initializes a new instance of the NotificationHandlers<T1, T2, T3> class and resolves all the registered handlers from serviceProvider.

public NotificationHandlers(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

The service provider used to resolve the handlers.

Properties

Handlers

Gets the registered handlers.

public IEnumerable<INotificationHandler<T1, T2, T3>> Handlers { get; }

Property Value

IEnumerable<INotificationHandler<T1, T2, T3>>