예제 #1
0
 public InputMessageChannel(IMessagePipeLine messagePipeLine, IMessageHandlerFactory factory)
 {
     Guard.NotNull(factory, nameof(factory));
     Guard.NotNull(messagePipeLine, nameof(messagePipeLine));
     this.messagePipeLine = messagePipeLine;
     this.factory         = factory;
 }
예제 #2
0
 public MessageRouter(IMessagePipeLine messagePipeLine, ICollection <IOutputMessageChannelDefinition> channels)
 {
     Guard.NotNull(channels, nameof(channels));
     Guard.NotNull(messagePipeLine, nameof(messagePipeLine));
     this.messagePipeLine = messagePipeLine;
     this.channels        = channels;
 }