Exemplo n.º 1
0
            public TestObjectNotificationHandler3(IDynamicNotificationManager <TestObject> registrar)
            {
                _registrar = registrar;

                // Dynamically add this class as a handler for the notification type 'YourNotificationTypeHere'
                _registrar.RegisterHandler(this);
            }
Exemplo n.º 2
0
        public WeatherForcastNotHandler(IDynamicNotificationManager <WeatherForecastNotification> registrar)
        {
            _registrar = registrar;

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