コード例 #1
0
 public ChainTriggerHandlers(
     IHandleTrigger <IMessageTrigger, MessageBody> handleMessageTrigger,
     IActionExecutionContextFactory actionExecutionContextFactory)
 {
     Contract.Requires <ArgumentNullException>(handleMessageTrigger != null);
     Contract.Requires <ArgumentNullException>(actionExecutionContextFactory != null);
     this.handleMessageTrigger          = handleMessageTrigger;
     this.actionExecutionContextFactory = actionExecutionContextFactory;
 }
コード例 #2
0
 public ChainTriggerHandlers(
     IHandleTrigger<IMessageTrigger, MessageBody> handleMessageTrigger, 
     IActionExecutionContextFactory actionExecutionContextFactory)
 {
     Contract.Requires<ArgumentNullException>(handleMessageTrigger != null);
     Contract.Requires<ArgumentNullException>(actionExecutionContextFactory != null);
     this.handleMessageTrigger = handleMessageTrigger;
     this.actionExecutionContextFactory = actionExecutionContextFactory;
 }