예제 #1
0
 public CustomerDealManager(
     ICustomerInfoStore customerInfoStore,
     ICustomerDealStore customerDealStore,
     IDealFileScopeStore dealFileScopeStore,
     IFileInfoStore fileInfoStore,
     ICustomerTransactionsStore customerTransactionsStore,
     IOrganizationExpansionStore organizationExpansionStore,
     PermissionExpansionManager permissionExpansionManager,
     IMapper mapper
     )
 {
     _icustomerInfoStore          = customerInfoStore ?? throw new ArgumentNullException(nameof(customerInfoStore));
     _icustomerDealStore          = customerDealStore ?? throw new ArgumentNullException(nameof(customerDealStore));
     _icustomerTransactionsStore  = customerTransactionsStore ?? throw new ArgumentNullException(nameof(customerTransactionsStore));
     _dealFileScopeStore          = dealFileScopeStore ?? throw new ArgumentNullException(nameof(dealFileScopeStore));
     _iorganizationExpansionStore = organizationExpansionStore ?? throw new ArgumentNullException(nameof(organizationExpansionStore));
     _permissionExpansionManager  = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _fileInfoStore = fileInfoStore;
     _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));
        }