Table of Contents

Namespace Arc4u.Dispatcher.Notification

Classes

NotificationHandlersExtension

Extension method to register the notification handler collections (INotificationHandlers<T> and its overloads with up to five type arguments).

NotificationHandlers<T>

Implement INotificationHandlers<T> and fetch from the DI the INotificationHandler<T>.

NotificationHandlers<T1, T2>

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

NotificationHandlers<T1, T2, T3>

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

NotificationHandlers<T1, T2, T3, T4>

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

NotificationHandlers<T1, T2, T3, T4, T5>

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

PublishersExtension

Extension methods to publish a notification to all the registered handlers, either concurrently or one after the other.

Interfaces

INotificationHandler<T>

Will be used to implement a notification.

INotificationHandler<T1, T2>

Implemented to react to a notification carrying 2 values. Register the implementations in the dependency injection container; they are resolved through INotificationHandlers<T1, T2>.

INotificationHandler<T1, T2, T3>

Implemented to react to a notification carrying 3 values. Register the implementations in the dependency injection container; they are resolved through INotificationHandlers<T1, T2, T3>.

INotificationHandler<T1, T2, T3, T4>

Implemented to react to a notification carrying 4 values. Register the implementations in the dependency injection container; they are resolved through INotificationHandlers<T1, T2, T3, T4>.

INotificationHandler<T1, T2, T3, T4, T5>

Implemented to react to a notification carrying 5 values. Register the implementations in the dependency injection container; they are resolved through INotificationHandlers<T1, T2, T3, T4, T5>.

INotificationHandlers<T>

Interface to return the registered INotificationHandler<T> in the DI.

INotificationHandlers<T1, T2>

Gives access to all the INotificationHandler<T1, T2> registered in the dependency injection container.

INotificationHandlers<T1, T2, T3>

Gives access to all the INotificationHandler<T1, T2, T3> registered in the dependency injection container.

INotificationHandlers<T1, T2, T3, T4>

Gives access to all the INotificationHandler<T1, T2, T3, T4> registered in the dependency injection container.

INotificationHandlers<T1, T2, T3, T4, T5>

Gives access to all the INotificationHandler<T1, T2, T3, T4, T5> registered in the dependency injection container.