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