public HttpPostRegisterSecretV2( TekReleaseWorkflowStateCreateV2 writer, RegisterSecretLoggingExtensionsV2 logger, IWorkflowTime workflowTime, IUtcDateTimeProvider utcDateTimeProvider ) { _writer = writer ?? throw new ArgumentNullException(nameof(writer)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _workflowTime = workflowTime ?? throw new ArgumentNullException(nameof(workflowTime)); _utcDateTimeProvider = utcDateTimeProvider ?? throw new ArgumentNullException(nameof(utcDateTimeProvider)); }
public TekReleaseWorkflowStateCreateV2( WorkflowDbContext dbContextProvider, IUtcDateTimeProvider dateTimeProvider, IRandomNumberGenerator numberGenerator, IWorkflowTime workflowTime, RegisterSecretLoggingExtensionsV2 logger, ILuhnModNConfig luhnModNConfig, ILuhnModNGenerator luhnModNGenerator) { _workflowDbContext = dbContextProvider ?? throw new ArgumentNullException(nameof(dbContextProvider)); _dateTimeProvider = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider)); _numberGenerator = numberGenerator ?? throw new ArgumentNullException(nameof(numberGenerator)); _workflowTime = workflowTime ?? throw new ArgumentNullException(nameof(workflowTime)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _luhnModNConfig = luhnModNConfig ?? throw new ArgumentNullException(nameof(luhnModNConfig)); _luhnModNGenerator = luhnModNGenerator ?? throw new ArgumentNullException(nameof(luhnModNGenerator)); }