public CancelNotificationConsumer(IModel model, TestConsumerCancelNotify tc, bool EventMode) : base(model) {
     this.testClass = tc;
     this.EventMode = EventMode;
     if (EventMode)
     {
         ConsumerCancelled += Cancelled;
     }
 }
示例#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;
 }