コード例 #1
0
 public BillingProcessor(
     IBillingQueryProcessor billingQueryProcessor,
     IBillingJournalizingQueryProcessor billingJournalizingQueryProcessor,
     IBillingExistsQueryProcessor billingExistsQueryProcessor,
     IAddBillingQueryProcessor addBillingQueryProcessor,
     IUpdateBillingQueryProcessor updatebillingQueryProcessor,
     ICurrencyQueryProcessor currencyQueryProcessor,
     ICustomerQueryProcessor customerQueryProcessor,
     IAccountTitleQueryProcessor accountTitlteByIdCodeQueryProcessor,
     IDepartmentByCodeQueryProcessor departmentByCodeQueryProcessor,
     IStaffQueryProcessor staffQueryProcessor,
     ICategoriesQueryProcessor categoryQueryProcessor,
     IImporterSettingDetailQueryProcessor importerSettingDetailQueryProcessor,
     IBillingMemoProcessor billingMemoProcessor,
     ITransactionalGetByIdsQueryProcessor <Billing> billingGetByIdsQueryProcessor,
     IDeleteTransactionQueryProcessor <Billing> deleteBillingQueryProcessor,
     IMasterGetIdByCodeQueryProcessor <Currency> currencyGetIdByCodeQueryProcessor,
     IDeleteBillingDiscountQueryProcessor deleteBillingDiscountQueryProcessor,
     IByCompanyGetEntityQueryProcessor <ApplicationControl> getApplicationControlByCompanyQueryProcessor,
     IUpdateBillingDivisionContractQueryProcessor updateBillingDivisionContractQueryProcessor,
     IDeleteBillingDivisionContractQueryProcessor deleteBillingDivisionContractQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.billingQueryProcessor               = billingQueryProcessor;
     this.billingJournalizingQueryProcessor   = billingJournalizingQueryProcessor;
     this.billingExistsQueryProcessor         = billingExistsQueryProcessor;
     this.addBillingQueryProcessor            = addBillingQueryProcessor;
     this.updatebillingQueryProcessor         = updatebillingQueryProcessor;
     this.currencyQueryProcessor              = currencyQueryProcessor;
     this.customerQueryProcessor              = customerQueryProcessor;
     this.accountTitlteByIdCodeQueryProcessor = accountTitlteByIdCodeQueryProcessor;
     this.departmentByCodeQueryProcessor      = departmentByCodeQueryProcessor;
     this.staffQueryProcessor    = staffQueryProcessor;
     this.categoryQueryProcessor = categoryQueryProcessor;
     this.importerSettingDetailQueryProcessor = importerSettingDetailQueryProcessor;
     this.billingMemoProcessor                         = billingMemoProcessor;
     this.billingGetByIdsQueryProcessor                = billingGetByIdsQueryProcessor;
     this.deleteBillingQueryProcessor                  = deleteBillingQueryProcessor;
     this.currencyGetIdByCodeQueryProcessor            = currencyGetIdByCodeQueryProcessor;
     this.deleteBillingDiscountQueryProcessor          = deleteBillingDiscountQueryProcessor;
     this.getApplicationControlByCompanyQueryProcessor = getApplicationControlByCompanyQueryProcessor;
     this.updateBillingDivisionContractQueryProcessor  = updateBillingDivisionContractQueryProcessor;
     this.deleteBillingDivisionContractQueryProcessor  = deleteBillingDivisionContractQueryProcessor;
     this.transactionScopeBuilder                      = transactionScopeBuilder;
 }
コード例 #2
0
ファイル: CurrencyProcessor.cs プロジェクト: fwka1605/next
 public CurrencyProcessor(
     ICurrencyQueryProcessor currencyQueryProcessor,
     IAddCurrencyQueryProcessor addCurrencyQueryProcessor,
     IMasterGetItemsQueryProcessor <Currency> masterGetItemsQueryProcessor,
     IDeleteIdenticalEntityQueryProcessor <Currency> deleteIdenticalEntityQueryProcessor,
     IMasterGetByCodesQueryProcessor <Currency> masterGetByCodesQueryProcessor,
     IIdenticalEntityGetByIdsQueryProcessor <Currency> identicalEntityGetByIdsQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.currencyQueryProcessor                = currencyQueryProcessor;
     this.addCurrencyQueryProcessor             = addCurrencyQueryProcessor;
     this.masterGetItemsQueryProcessor          = masterGetItemsQueryProcessor;
     this.deleteIdenticalEntityQueryProcessor   = deleteIdenticalEntityQueryProcessor;
     this.masterGetByCodesQueryProcessor        = masterGetByCodesQueryProcessor;
     this.identicalEntityGetByIdsQueryProcessor = identicalEntityGetByIdsQueryProcessor;
     this.transactionScopeBuilder               = transactionScopeBuilder;
 }
コード例 #3
0
        /// <summary>constructor</summary>
        public BillingAccountTransferFileImportProcessor(
            IIdenticalEntityGetByIdsQueryProcessor <Company> companyGetByIdQueryProcessor,
            ICurrencyQueryProcessor currencyQueryProcessor,
            IBillingQueryProcessor billingQueryProcessor,
            ICustomerQueryProcessor customerQueryProcessor,
            IIdenticalEntityGetByIdsQueryProcessor <PaymentAgency> paymentAgencyGetByIdsQueryProcessor,
            IImportDataProcessor importDataProcessor,
            IBillingAccountTransferProcessor billingAccountTransferProcessor
            )
        {
            this.companyGetByIdQueryProcessor        = companyGetByIdQueryProcessor;
            this.currencyQueryProcessor              = currencyQueryProcessor;
            this.billingQueryProcessor               = billingQueryProcessor;
            this.customerQueryProcessor              = customerQueryProcessor;
            this.paymentAgencyGetByIdsQueryProcessor = paymentAgencyGetByIdsQueryProcessor;
            this.importDataProcessor             = importDataProcessor;
            this.billingAccountTransferProcessor = billingAccountTransferProcessor;

            serializer = MessagePackSerializer.Get <AccountTransferSource>(new SerializationContext {
                DefaultDateTimeConversionMethod = DateTimeConversionMethod.Native
            });
        }