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