Exemplo n.º 1
0
 public LedgerController(
     IApplicationLocale applicationLocale,
     IDomainMicroService domainMicroService,
     ILedgerMicroService ledgerMicroService)
     : base(
         applicationLocale,
         domainMicroService)
 {
     LedgerMicroService = ledgerMicroService ?? throw new ArgumentNullException(nameof(ledgerMicroService));
 }
 public TransactionAdminService(
     IApplicationRequestServices requestServices,
     ILogger <TransactionAdminService> logger,
     IFulfillmentMicroService fulfillmentMicroService,
     IFundingMicroService fundingMicroService,
     ILedgerMicroService ledgerMicroService,
     IOrderMicroService orderMicroService,
     ISquareMicroService squareMicroService)
     : base(requestServices, logger)
 {
     FulfillmentMicroService = fulfillmentMicroService ?? throw new ArgumentNullException(nameof(fulfillmentMicroService));
     FundingMicroService     = fundingMicroService ?? throw new ArgumentNullException(nameof(fundingMicroService));
     LedgerMicroService      = ledgerMicroService ?? throw new ArgumentNullException(nameof(ledgerMicroService));
     OrderMicroService       = orderMicroService ?? throw new ArgumentNullException(nameof(orderMicroService));
     SquareMicroService      = squareMicroService ?? throw new ArgumentNullException(nameof(squareMicroService));
 }
Exemplo n.º 3
0
 public DashboardAdminService(
     IApplicationRequestServices requestServices,
     ILogger <DashboardAdminService> logger,
     ICommunicationMicroService communicationMicroService,
     IDesignMicroService designMicroService,
     IFulfillmentMicroService fulfillmentMicroService,
     IFundingMicroService fundingMicroService,
     ILedgerMicroService ledgerMicroService,
     IOrderMicroService orderMicroService,
     IProjectMicroService projectMicroService,
     ISquareMicroService squareMicroService,
     IUserMicroService userMicroService)
     : base(requestServices, logger)
 {
     CommunicationMicroService = communicationMicroService ?? throw new ArgumentNullException(nameof(communicationMicroService));
     DesignMicroService        = designMicroService ?? throw new ArgumentNullException(nameof(designMicroService));
     FulfillmentMicroService   = fulfillmentMicroService ?? throw new ArgumentNullException(nameof(fulfillmentMicroService));
     FundingMicroService       = fundingMicroService ?? throw new ArgumentNullException(nameof(fundingMicroService));
     LedgerMicroService        = ledgerMicroService ?? throw new ArgumentNullException(nameof(ledgerMicroService));
     OrderMicroService         = orderMicroService ?? throw new ArgumentNullException(nameof(orderMicroService));
     ProjectMicroService       = projectMicroService ?? throw new ArgumentNullException(nameof(projectMicroService));
     SquareMicroService        = squareMicroService ?? throw new ArgumentNullException(nameof(squareMicroService));
     UserMicroService          = userMicroService ?? throw new ArgumentNullException(nameof(userMicroService));
 }
Exemplo n.º 4
0
 public LedgerServiceAccountTransactionBuilder(ILedgerMicroService ledgerMicroService)
 {
     LedgerMicroService = ledgerMicroService ?? throw new ArgumentNullException();
 }