Beispiel #1
0
 public CommandCoordinator(IResolveHandler resolveHandler, IEventPublisher eventPublisher, ICommandValidator validation, IPermissionValidator permissionValidator, IMapper mapper, IMetrics metrics, ILogger logger)
 {
     _resolveHandler      = resolveHandler.NotNull();
     _eventPublisher      = eventPublisher.NotNull();
     _validation          = validation.NotNull();
     _permissionValidator = permissionValidator.NotNull();
     _mapper  = _mapper.NotNull();
     _metrics = metrics.NotNull();
     _logger  = logger.NotNull();
 }
Beispiel #2
0
 public CommandValidator(IValidator validation, IPermissionValidator permissionValidator)
 {
     _validation          = validation.NotNull();
     _permissionValidator = permissionValidator.NotNull();
 }