public FileScopeManager( IDealFileScopeStore dealFileScopeStore, ICustomerDealStore icustomerDealStore, IFileInfoStore fileInfoStore, ICustomerFilescopeStore customerFilescopeStore, IMapper mapper) { _dealFileScopeStore = dealFileScopeStore ?? throw new ArgumentNullException(nameof(dealFileScopeStore)); _icustomerDealStore = icustomerDealStore ?? throw new ArgumentNullException(nameof(icustomerDealStore)); _fileInfoStore = fileInfoStore ?? throw new ArgumentNullException(nameof(fileInfoStore)); _icustomerFilescopeStore = customerFilescopeStore ?? throw new ArgumentNullException(nameof(customerFilescopeStore)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
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)); }