public HttpPostRegisterSecret(ISecretWriter writer, ILogger <HttpPostRegisterSecret> 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));
 }
Exemple #2
0
 public HttpPostRegisterSecret(ISecretWriter writer)
 {
     _Writer = writer;
 }
 public HttpPostRegisterSecret(ISecretWriter writer, ILogger <HttpPostRegisterSecret> logger)
 {
     _Writer = writer ?? throw new ArgumentNullException(nameof(writer));
     _Logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }