Class NotificationHandlers<T1, T2, T3, T4, T5>
- Namespace
- Arc4u.Dispatcher.Notification
- Assembly
- Arc4u.Dispatcher.dll
Implements INotificationHandlers<T1, T2, T3, T4, T5> and fetches the INotificationHandler<T1, T2, T3, T4, T5> registered in the dependency injection container.
public class NotificationHandlers<T1, T2, T3, T4, T5> : INotificationHandlers<T1, T2, T3, T4, T5>
Type Parameters
T1The type of the notification value number 1.
T2The type of the notification value number 2.
T3The type of the notification value number 3.
T4The type of the notification value number 4.
T5The type of the notification value number 5.
- Inheritance
-
NotificationHandlers<T1, T2, T3, T4, T5>
- Implements
-
INotificationHandlers<T1, T2, T3, T4, T5>
- Inherited Members
- Extension Methods
Constructors
NotificationHandlers(IServiceProvider)
Initializes a new instance of the NotificationHandlers<T1, T2, T3, T4, T5> class and resolves all the registered handlers from serviceProvider.
public NotificationHandlers(IServiceProvider serviceProvider)
Parameters
serviceProviderIServiceProviderThe service provider used to resolve the handlers.
Properties
Handlers
Gets the registered handlers.
public IEnumerable<INotificationHandler<T1, T2, T3, T4, T5>> Handlers { get; }
Property Value
- IEnumerable<INotificationHandler<T1, T2, T3, T4, T5>>