public BulkUploadCreateApprenticeshipEventsCommandHandler(IApprenticeshipEventRepository apprenticeshipEventRepository, IEventsLogger logger, AbstractValidator <BulkUploadCreateApprenticeshipEventsCommand> validator) { _apprenticeshipEventRepository = apprenticeshipEventRepository; _logger = logger; _validator = validator; }
public CreateGenericEventCommandHandler(IGenericEventRepository repository, AbstractValidator <CreateGenericEventCommand> validator, IEventsLogger logger) { _repository = repository; _validator = validator; _logger = logger; }
public ApprenticeshipEventRepository(string databaseConnectionString, IEventsLogger logger) : base(databaseConnectionString, logger.BaseLogger) { if (logger == null) { throw new ArgumentNullException(nameof(logger)); } _logger = logger; }
public AccountEventsOrchestrator(IMediator mediator, IEventsLogger logger) { if (mediator == null) { throw new ArgumentNullException(nameof(mediator)); } if (logger == null) { throw new ArgumentNullException(nameof(logger)); } _mediator = mediator; _logger = logger; }
public CreateAccountEventCommandHandler(IAccountEventRepository accountEventRepository, AbstractValidator <CreateAccountEventCommand> validator, IEventsLogger logger) { if (accountEventRepository == null) { throw new ArgumentNullException(nameof(accountEventRepository)); } if (validator == null) { throw new ArgumentNullException(nameof(validator)); } if (logger == null) { throw new ArgumentNullException(nameof(logger)); } _accountEventRepository = accountEventRepository; _validator = validator; _logger = logger; }
public AgreementEventRepository(string databaseConnectionString, IEventsLogger logger) : base(databaseConnectionString, logger.BaseLogger) { }
public ApprenticeshipEventsOrchestrator(IMediator mediator, IEventsLogger logger) { _mediator = mediator; _logger = logger; }