Ejemplo n.º 1
0
 public EventHandlerDispatcher(IEventHandler <TEvent> eventHandler,
                               IContractValidatorService contractValidatorService, IServiceProvider serviceProvider,
                               ILoggerService logger)
 {
     _eventHandler             = eventHandler;
     _serviceProvider          = serviceProvider;
     _logger                   = logger;
     _contractValidatorService = contractValidatorService;
 }
Ejemplo n.º 2
0
 public ServiceBus(
     IBusControl massTransitBus,
     IContractValidatorService contractValidatorService,
     IBigMessageService bigMessageService = null,
     ObjectStorageConfiguration config    = null)
 {
     _massTransitBus           = massTransitBus;
     _contractValidatorService = contractValidatorService;
     _bigMessageService        = bigMessageService;
     _config = config;
 }
Ejemplo n.º 3
0
 public ModelValidatorEventDecorator(IEventHandler <T> eventHandler, IContractValidatorService contractValidatorService)
 {
     _eventHandler             = eventHandler;
     _contractValidatorService = contractValidatorService;
 }
Ejemplo n.º 4
0
 public CommandHandlerDispatcher(ICommandHandler <TCommand> commandHandler, IContractValidatorService contractValidatorService)
 {
     _commandHandler           = commandHandler;
     _contractValidatorService = contractValidatorService;
 }