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