Beispiel #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));
 }
Beispiel #2
0
 public AboutLookManager(IAboutLookStore iaboutLookStore, IMapper mapper)
 {
     _iaboutLookStore = iaboutLookStore ?? throw new ArgumentNullException(nameof(iaboutLookStore));
     _mapper          = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }