public CancelNotificationConsumer(IModel model, TestConsumerCancelNotify tc, bool EventMode) : base(model) {
     this.testClass = tc;
     this.EventMode = EventMode;
     if (EventMode)
     {
         ConsumerCancelled += Cancelled;
     }
 }
Exemple #2
0
 public CancelNotificationConsumer(IModel model, TestConsumerCancelNotify tc, bool EventMode) : base(model)
 {
     this.testClass = tc;
     this.EventMode = EventMode;
     if (EventMode)
     {
         ConsumerCancelled += Cancelled;
     }
 }
 public CancelNotificationConsumer(IModel model, TestConsumerCancelNotify tc)
     : base(model)
 {
     this.testClass = tc;
 }