Пример #1
0
 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;
 }
Пример #2
0
 public MessagePublisher(IOutgoingPipeline outgoingPipeline, ITypeMap typeMap, Collection <CommandRoute> commandRoutes)
 {
     this.outgoingPipeline = outgoingPipeline;
     this.typeMap          = typeMap;
     this.commandRoutes    = commandRoutes;
 }
Пример #3
0
 public PipelineInvoker(IReceivePipeline receivePipeline, IOutgoingPipeline outgoingPipeline)
 {
     _receivePipelineInvoke  = ctx => BuildPipelineActionsChainAction(ctx, receivePipeline.Actions.ToArray());
     _outgoingPipelineInvoke = ctx => BuildPipelineActionsChainAction(ctx, outgoingPipeline.Actions.ToArray());
 }