Exemplo n.º 1
0
 public IksSendBatchCommand(
     Func <IksOutDbContext> iksOutboundDbContextFactory,
     Func <HttpPostIksCommand> iksSendCommandFactory,
     IIksSigner signer,
     IBatchTagProvider batchTagProvider,
     IksUploaderLoggingExtensions logger)
 {
     _IksSendCommandFactory       = iksSendCommandFactory ?? throw new ArgumentNullException(nameof(iksSendCommandFactory));
     _IksOutboundDbContextFactory = iksOutboundDbContextFactory ?? throw new ArgumentNullException(nameof(iksOutboundDbContextFactory));
     _Signer           = signer ?? throw new ArgumentNullException(nameof(signer));
     _BatchTagProvider = batchTagProvider ?? throw new ArgumentNullException(nameof(batchTagProvider));
     _Logger           = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public HttpPostIksCommand(IEfgsConfig efgsConfig, IAuthenticationCertificateProvider certificateProvider, IksUploaderLoggingExtensions logger)
 {
     _EfgsConfig          = efgsConfig ?? throw new ArgumentNullException(nameof(efgsConfig));
     _CertificateProvider = certificateProvider ?? throw new ArgumentNullException(nameof(certificateProvider));
     _Logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }