public OrderRepository( IOrderAuthorizationRepository orderAuthorizationRepository, IAuthorizationRepository authorizationRepository, AcmeContext context) : base(context) { OrderAuthorizationRepository = orderAuthorizationRepository ?? throw new ArgumentNullException(nameof(orderAuthorizationRepository)); AuthorizationRepository = authorizationRepository ?? throw new ArgumentNullException(nameof(authorizationRepository)); }
public ConverterService( IAuthorizationRepository authorizationRepository, IChallengeRepository challengeRepository, IOrderAuthorizationRepository orderAuthorizationRepository, IExternalAccountRepository externalAccountRepository, IOptions <ServerOptions> options) : base(options) { AuthorizationRepository = authorizationRepository ?? throw new ArgumentNullException(nameof(authorizationRepository)); ChallengeRepository = challengeRepository ?? throw new ArgumentNullException(nameof(challengeRepository)); OrderAuthorizationRepository = orderAuthorizationRepository ?? throw new ArgumentNullException(nameof(orderAuthorizationRepository)); ExternalAccountRepository = externalAccountRepository ?? throw new ArgumentNullException(nameof(externalAccountRepository)); }
public OrderService( IOrderRepository orderRepository, IAccountService accountService, IAccountSecurityService accountSecurityService, IAuthorizationService authorizationService, IOrderAuthorizationRepository orderAuthorizationRepository, ICertificateEnrollmentService certificateEnrollmentService, IOptions <ServerOptions> options) : base(options) { OrderRepository = orderRepository ?? throw new ArgumentNullException(nameof(orderRepository)); AccountService = accountService ?? throw new ArgumentNullException(nameof(accountService)); AccountSecurityService = accountSecurityService ?? throw new ArgumentNullException(nameof(accountSecurityService)); AuthorizationService = authorizationService ?? throw new ArgumentNullException(nameof(authorizationService)); OrderAuthorizationRepository = orderAuthorizationRepository ?? throw new ArgumentNullException(nameof(orderAuthorizationRepository)); CertificateEnrollmentService = certificateEnrollmentService ?? throw new ArgumentNullException(nameof(certificateEnrollmentService)); }