Пример #1
0
 public ValidationService(
     ICommandTypeManager commandTypeManager,
     ICommandValidatorProvider commandValidatorProvider, 
     IValidationMetaDataGenerator validationMetaDataGenerator,
     ISerializer serializer)
 {
     _commandTypeManager = commandTypeManager;
     _commandValidatorProvider = commandValidatorProvider;
     _validationMetaDataGenerator = validationMetaDataGenerator;
     _serializer = serializer;
 }
 public CommandCoordinatorService(
     ICommandCoordinator commandCoordinator, 
     ICommandTypeManager commandTypeManager,
     ISerializer serializer,
     ITypeDiscoverer typeDiscoverer,
     ISagaLibrarian sagaLibrarian)
 {
     _commandCoordinator = commandCoordinator;
     _commandTypeManager = commandTypeManager;
     _serializer = serializer;
     _typeDiscoverer = typeDiscoverer;
     _sagaLibrarian = sagaLibrarian;
 }