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
T1The type of the notification value number 1.
T2The type of the notification value number 2.
T3The type of the notification value number 3.
- Inheritance
-
NotificationHandlers<T1, T2, T3>
- Implements
-
INotificationHandlers<T1, T2, T3>
- 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
serviceProviderIServiceProviderThe 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>>