public CustomerTimingManager(
            ICustomerInfoStore icustomerInfoStore,
            IBeltLookStore ibeltLookStore,
            ICustomerDealStore icustomerDealStore,
            ICustomerPoolStore icustomerPoolStore,
            ICustomerPoolDefineStore icustomerPoolDefineStore,
            Stores.IOrganizationExpansionStore organizationExpansionStore,
            ICustomerTransactionsStore icustomerTransactionsStore,
            ICustomerTransactionsFollowUpStore icustomerTransactionsFollowUpStore,
            IMapper mapper)
        {
            _icustomerInfoStore = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
            _ibeltLookStore     = ibeltLookStore ?? throw new ArgumentNullException(nameof(ibeltLookStore));
            _icustomerDealStore = icustomerDealStore ?? throw new ArgumentNullException(nameof(icustomerDealStore));

            _icustomerPoolStore                 = icustomerPoolStore ?? throw new ArgumentNullException(nameof(icustomerPoolStore));
            _icustomerPoolDefineStore           = icustomerPoolDefineStore ?? throw new ArgumentNullException(nameof(icustomerPoolDefineStore));
            _icustomerTransactionsStore         = icustomerTransactionsStore ?? throw new ArgumentNullException(nameof(icustomerTransactionsStore));
            _icustomerTransactionsFollowUpStore = icustomerTransactionsFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerTransactionsFollowUpStore));
            _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
        }
Example #2
0
 /// <summary>
 /// 构造
 /// </summary>
 /// <param name="icustomerTransactionsFollowUpStore"></param>
 /// <param name="icustomerInfoStore"></param>
 /// <param name="mapper"></param>
 public CustomerTransactionsFollowUpManager(ICustomerTransactionsFollowUpStore icustomerTransactionsFollowUpStore, ICustomerInfoStore icustomerInfoStore, IMapper mapper)
 {
     _icustomerInfoStore = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
     _icustomerTransactionsFollowUpStore = icustomerTransactionsFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerTransactionsFollowUpStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }