示例#1
0
 public CustomerProcessor(
     IAddCustomerQueryProcessor addCustomerQueryProcessor,
     IUpdateCustomerQueryProcessor updateCustomerQueryProcessor,
     IDeleteIdenticalEntityQueryProcessor <Customer> deleteCustomerQueryProcessor,
     ICustomerQueryProcessor customerQueryProcessor,
     ICustomerDiscountQueryProcessor customerDiscountQueryProcessor,
     IMasterGetItemsQueryProcessor <Customer> customerGetItemsQueryProcessor,
     ICustomerMinQueryProcessor customerMinQueryProcessor,
     ICustomerExistsQueryProcessor customerExistsQueryProcessor,
     ICustomerImportQueryProcessor customerImportQueryProcessor,
     IAddCustomerPaymentContractQueryProcessor addCustomerPaymentContractQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.addCustomerQueryProcessor                = addCustomerQueryProcessor;
     this.updateCustomerQueryProcessor             = updateCustomerQueryProcessor;
     this.deleteCustomerQueryProcessor             = deleteCustomerQueryProcessor;
     this.customerQueryProcessor                   = customerQueryProcessor;
     this.customerDiscountQueryProcessor           = customerDiscountQueryProcessor;
     this.customerGetItemsQueryProcessor           = customerGetItemsQueryProcessor;
     this.customerMinQueryProcessor                = customerMinQueryProcessor;
     this.customerExistsQueryProcessor             = customerExistsQueryProcessor;
     this.customerImportQueryProcessor             = customerImportQueryProcessor;
     this.addCustomerPaymentContractQueryProcessor = addCustomerPaymentContractQueryProcessor;
     this.transactionScopeBuilder                  = transactionScopeBuilder;
 }
示例#2
0
 public CustomerPaymentContractProcessor(
     ICustomerPaymentContractQueryProcessor customerPaymentContractQueryProcessor,
     IAddCustomerPaymentContractQueryProcessor addCustomerPaymentContractQueryProcessor,
     IDeleteCustomerPaymentContractQueryProcessor deleteCustomerPaymentContractQueryProcessor)
 {
     this.customerPaymentContractQueryProcessor       = customerPaymentContractQueryProcessor;
     this.addCustomerPaymentContractQueryProcessor    = addCustomerPaymentContractQueryProcessor;
     this.deleteCustomerPaymentContractQueryProcessor = deleteCustomerPaymentContractQueryProcessor;
 }