Example #1
0
 /// <summary>
 /// 构造
 /// </summary>
 /// <param name="icustomerInfoStore"></param>
 /// <param name="icustomerDemandStore"></param>
 /// <param name="icustomerReportStore"></param>
 /// <param name="iaboutLookStore"></param>
 /// <param name="ibeltLookStore"></param>
 /// <param name="icustomerFollowUpStore"></param>
 /// <param name="icustomerPoolStore"></param>
 /// <param name="icustomerPoolDefineStore"></param>
 /// <param name="mapper"></param>
 public CustomerHandOverManager(ICustomerInfoStore icustomerInfoStore,
                                ICustomerDemandStore icustomerDemandStore,
                                ICustomerReportStore icustomerReportStore,
                                IAboutLookStore iaboutLookStore,
                                IBeltLookStore ibeltLookStore,
                                ICustomerFollowUpStore icustomerFollowUpStore,
                                ICustomerPoolStore icustomerPoolStore,
                                ICustomerPoolDefineStore icustomerPoolDefineStore,
                                IMapper mapper)
 {
     _icustomerInfoStore       = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
     _icustomerDemandStore     = icustomerDemandStore ?? throw new ArgumentNullException(nameof(icustomerDemandStore));
     _icustomerReportStore     = icustomerReportStore ?? throw new ArgumentNullException(nameof(icustomerReportStore));
     _iaboutLookStore          = iaboutLookStore ?? throw new ArgumentNullException(nameof(iaboutLookStore));
     _ibeltLookStore           = ibeltLookStore ?? throw new ArgumentNullException(nameof(ibeltLookStore));
     _icustomerFollowUpStore   = icustomerFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerFollowUpStore));
     _icustomerPoolStore       = icustomerPoolStore ?? throw new ArgumentNullException(nameof(icustomerPoolStore));
     _icustomerPoolDefineStore = icustomerPoolDefineStore ?? throw new ArgumentNullException(nameof(icustomerPoolDefineStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
        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));
        }
 public CustomerPoolDefineManager(ICustomerPoolDefineStore customerPoolDefineStore,
                                  IMapper mapper)
 {
     Store   = customerPoolDefineStore ?? throw new ArgumentNullException(nameof(customerPoolDefineStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }