public TekReleaseWorkflowStateCreate(WorkflowDbContext dbContextProvider, IUtcDateTimeProvider dateTimeProvider, IRandomNumberGenerator numberGenerator, ILabConfirmationIdService labConfirmationIdService, IWorkflowTime workflowTime, IWorkflowConfig workflowConfig, RegisterSecretLoggingExtensions logger) { _WorkflowDbContext = dbContextProvider ?? throw new ArgumentNullException(nameof(dbContextProvider)); _DateTimeProvider = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider)); _NumberGenerator = numberGenerator ?? throw new ArgumentNullException(nameof(numberGenerator)); _LabConfirmationIdService = labConfirmationIdService ?? throw new ArgumentNullException(nameof(labConfirmationIdService)); _WorkflowTime = workflowTime ?? throw new ArgumentNullException(nameof(workflowTime)); _WorkflowConfig = workflowConfig ?? throw new ArgumentNullException(nameof(workflowConfig)); _Logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public HttpPostRegisterSecret( ISecretWriter writer, RegisterSecretLoggingExtensions logger, IWorkflowTime workflowTime, IUtcDateTimeProvider utcDateTimeProvider, ILabConfirmationIdFormatter labConfirmationIdFormatter ) { _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)); _LabConfirmationIdFormatter = labConfirmationIdFormatter ?? throw new ArgumentNullException(nameof(labConfirmationIdFormatter)); }