public HandlerInvoker(IMessageSource messageSource, IServiceCollection registeredServices, ITypeMap typeMap, string endpointName, IOutgoingPipeline outgoingPipeline) { this.messageSource = messageSource; this.registeredServices = registeredServices; this.typeMap = typeMap; this.endpointName = endpointName; this.outgoingPipeline = outgoingPipeline; }
public MessagePublisher(IOutgoingPipeline outgoingPipeline, ITypeMap typeMap, Collection <CommandRoute> commandRoutes) { this.outgoingPipeline = outgoingPipeline; this.typeMap = typeMap; this.commandRoutes = commandRoutes; }
public PipelineInvoker(IReceivePipeline receivePipeline, IOutgoingPipeline outgoingPipeline) { _receivePipelineInvoke = ctx => BuildPipelineActionsChainAction(ctx, receivePipeline.Actions.ToArray()); _outgoingPipelineInvoke = ctx => BuildPipelineActionsChainAction(ctx, outgoingPipeline.Actions.ToArray()); }