public MediatorBus(IOutputMessageChannel channel, IMessageContextFactory messageContextFactory) { Guard.NotNull(messageContextFactory, nameof(messageContextFactory)); Guard.NotNull(channel, nameof(channel)); this.channel = channel; this.messageContextFactory = messageContextFactory; }
public ReceiveContext(TMessage message, MessageMetadata messageMetadata, IMessageContextFactory factory, IOutputMessageChannel channel) : base(message, messageMetadata) { Guard.NotNull(channel, nameof(channel)); Guard.NotNull(factory, nameof(factory)); this.factory = factory; this.channel = channel; }
public RedirectRequestConsumer(IOutputMessageChannel channel) { Guard.NotNull(channel, nameof(channel)); this.channel = channel; }