public WeatherForcastNotHandler(IDynamicNotificationManager <WeatherForecastNotification> registrar) { _registrar = registrar; // Dynamically add this class as a handler for the notification type 'YourNotificationTypeHere' _registrar.RegisterHandler(this); }
public TestObjectNotificationHandler3(IDynamicNotificationManager <TestObject> registrar) { _registrar = registrar; // Dynamically add this class as a handler for the notification type 'YourNotificationTypeHere' _registrar.RegisterHandler(this); }
public BaseDynamicNotificationHandler(IDynamicNotificationManager <TNotification> registrar) { _manager = registrar; _manager.RegisterHandler(this); }