Beispiel #1
0
 public EksBuilderV1(
     IEksHeaderInfoConfig headerInfoConfig,
     IGaContentSigner gaenContentSigner,
     IContentSigner nlContentSigner,
     IUtcDateTimeProvider dateTimeProvider,
     IEksContentFormatter eksContentFormatter,
     ILogger <EksBuilderV1> logger
     )
 {
     _GaenContentSigner   = gaenContentSigner ?? throw new ArgumentNullException(nameof(gaenContentSigner));
     _NlContentSigner     = nlContentSigner ?? throw new ArgumentNullException(nameof(nlContentSigner));
     _DateTimeProvider    = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider));
     _EksContentFormatter = eksContentFormatter ?? throw new ArgumentNullException(nameof(eksContentFormatter));
     _Config = headerInfoConfig ?? throw new ArgumentNullException(nameof(headerInfoConfig));
     _Logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Beispiel #2
0
 public EksBuilderV1(
     IEksHeaderInfoConfig headerInfoConfig,
     IGaContentSigner gaenContentSigner,
     IContentSigner nlContentSigner,
     IUtcDateTimeProvider dateTimeProvider,
     IEksContentFormatter eksContentFormatter,
     EksBuilderV1LoggingExtensions logger
     )
 {
     _gaenContentSigner   = gaenContentSigner ?? throw new ArgumentNullException(nameof(gaenContentSigner));
     _nlContentSigner     = nlContentSigner ?? throw new ArgumentNullException(nameof(nlContentSigner));
     _dateTimeProvider    = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider));
     _eksContentFormatter = eksContentFormatter ?? throw new ArgumentNullException(nameof(eksContentFormatter));
     _config = headerInfoConfig ?? throw new ArgumentNullException(nameof(headerInfoConfig));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }