public ChainTriggerHandlers( IHandleTrigger <IMessageTrigger, MessageBody> handleMessageTrigger, IActionExecutionContextFactory actionExecutionContextFactory) { Contract.Requires <ArgumentNullException>(handleMessageTrigger != null); Contract.Requires <ArgumentNullException>(actionExecutionContextFactory != null); this.handleMessageTrigger = handleMessageTrigger; this.actionExecutionContextFactory = actionExecutionContextFactory; }
public ChainTriggerHandlers( IHandleTrigger<IMessageTrigger, MessageBody> handleMessageTrigger, IActionExecutionContextFactory actionExecutionContextFactory) { Contract.Requires<ArgumentNullException>(handleMessageTrigger != null); Contract.Requires<ArgumentNullException>(actionExecutionContextFactory != null); this.handleMessageTrigger = handleMessageTrigger; this.actionExecutionContextFactory = actionExecutionContextFactory; }