public FileScopeManager(
     IContractFileScopeStore contractFileScopeStore,
     IContractInfoStore contractInfoStore,
     IFileInfoStore fileInfoStore,
     IMapper mapper)
 {
     _contractFileScopeStore = contractFileScopeStore ?? throw new ArgumentNullException(nameof(contractFileScopeStore));
     _contractInfoStore      = contractInfoStore ?? throw new ArgumentNullException(nameof(contractFileScopeStore));
     _fileInfoStore          = fileInfoStore ?? throw new ArgumentNullException(nameof(fileInfoStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Beispiel #2
0
 public AdminViewProvider(
     IFileOptionsFactory fileOptionsFactory,
     IFileInfoStore <FileInfo> fileInfoStore,
     IContextFacade contextFacade,
     IFileStore <File> fileStore)
 {
     _fileOptionsFactory = fileOptionsFactory;
     _fileInfoStore      = fileInfoStore;
     _contextFacade      = contextFacade;
     _fileStore          = fileStore;
 }
Beispiel #3
0
        public FileValidator(
            IHtmlLocalizer htmlLocalizer,
            IFileInfoStore <Models.FileInfo> fileInfoStore,
            IFileOptionsFactory fileOptionsFactory,
            IContextFacade contextFacade)
        {
            _fileOptionsFactory = fileOptionsFactory;
            _fileInfoStore      = fileInfoStore;
            _contextFacade      = contextFacade;

            T = htmlLocalizer;
        }
Beispiel #4
0
 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));
 }
Beispiel #5
0
 public EditEntityFilesViewComponent(
     IEntityFileStore <EntityFile> entityAttachmentStore,
     IFileInfoStore <FileInfo> attachmentInfoStore,
     IFileOptionsFactory attachmentOptionsFactory,
     IHttpContextAccessor httpContextAccessor,
     IFileStore <File> attachmentStore)
 {
     _fileOptionsFactory    = attachmentOptionsFactory;
     _entityAttachmentStore = entityAttachmentStore;
     _fileInfoStore         = attachmentInfoStore;
     _httpContextAccessor   = httpContextAccessor;
     _fileStore             = attachmentStore;
 }
 public FileScopeManager(IShopsFileScopeStore shopsFileScopeStore,
                         IBuildingFileScopeStore buildingFileScopeStore,
                         IUpdateRecordFileScopeStore updateRecordFileScopeStore,
                         IBuildingNoticeFileScopeStore buildingNoticeFileScopeStore,
                         IBuildingsStore buildingsStore,
                         IShopsStore shopsStore,
                         IFileInfoStore fileInfoStore,
                         IMapper mapper)
 {
     _shopsFileScopeStore        = shopsFileScopeStore ?? throw new ArgumentNullException(nameof(shopsFileScopeStore));
     _buildingFileScopeStore     = buildingFileScopeStore ?? throw new ArgumentNullException(nameof(buildingFileScopeStore));
     _updateRecordFileScopeStore = updateRecordFileScopeStore ?? throw new ArgumentNullException(nameof(updateRecordFileScopeStore));
     _buildingsStore             = buildingsStore ?? throw new ArgumentNullException(nameof(buildingsStore));
     _shopsStore    = shopsStore ?? throw new ArgumentNullException(nameof(shopsStore));
     _fileInfoStore = fileInfoStore ?? throw new ArgumentNullException(nameof(fileInfoStore));
     _mapper        = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _buildingNoticeFileScopeStore = buildingNoticeFileScopeStore ?? throw new ArgumentNullException(nameof(buildingNoticeFileScopeStore));
 }
Beispiel #7
0
 public ShopsManager(
     IShopsStore shopsStore,
     IShopFacilitiesStore shopFacilitiesStore,
     IShopsFavoriteStore shopsFavoriteStore,
     IShopBaseInfoStore shopBaseInfoStore,
     IShopLeaseInfoStore shopLeaseInfoStore,
     IFileInfoStore fileInfoStore,
     IShopsFileScopeStore shopFileScopeStore,
     IMapper mapper
     )
 {
     _shopsStore          = shopsStore ?? throw new ArgumentNullException(nameof(shopsStore));
     _shopFacilitiesStore = shopFacilitiesStore ?? throw new ArgumentNullException(nameof(shopFacilitiesStore));
     _ishopsFavoriteStore = shopsFavoriteStore ?? throw new ArgumentNullException(nameof(shopsFavoriteStore));
     _shopBaseInfoStore   = shopBaseInfoStore ?? throw new ArgumentNullException(nameof(shopBaseInfoStore));
     _shopLeaseInfoStore  = shopLeaseInfoStore ?? throw new ArgumentNullException(nameof(shopLeaseInfoStore));
     _fileInfoStore       = fileInfoStore;
     _shopFileScopeStore  = shopFileScopeStore;
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Beispiel #8
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));
 }
Beispiel #9
0
 public BuildingsManager(
     IBuildingsStore buildingsStore,
     IBuildingFacilitiesStore buildingFacilitiesStore,
     IBuildingFavoritesStore buildingFavoritesStore,
     IBuildingBaseInfoStore buildingBaseInfoStore,
     IBuildingShopInfoStore buildingShopInfoStore,
     IBuildingFileScopeStore buildingFileScopeStore,
     IFileInfoStore fileInfoStore,
     IUserStore userStore,
     PermissionExpansionManager permissionExpansionManager,
     IMapper mapper
     )
 {
     _buildingsStore          = buildingsStore ?? throw new ArgumentNullException(nameof(buildingsStore));
     _buildingFacilitiesStore = buildingFacilitiesStore ?? throw new ArgumentNullException(nameof(buildingFacilitiesStore));
     _ibuildingFavoritesStore = buildingFavoritesStore ?? throw new ArgumentNullException(nameof(buildingFavoritesStore));
     _buildingBaseInfoStore   = buildingBaseInfoStore ?? throw new ArgumentNullException(nameof(buildingBaseInfoStore));
     _buildingShopInfoStore   = buildingShopInfoStore ?? throw new ArgumentNullException(nameof(buildingShopInfoStore));
     _fileInfoStore           = fileInfoStore;
     _buildingFileScopeStore  = buildingFileScopeStore;
     _iuserStore = userStore ?? throw new ArgumentNullException(nameof(userStore));
     _ipermissionExpansionManager = permissionExpansionManager ?? throw new ArgumentNullException(nameof(permissionExpansionManager));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Beispiel #10
0
 public FileInfoManager(IFileInfoStore fileInfoStore, IMapper mapper)
 {
     Store   = fileInfoStore ?? throw new ArgumentNullException(nameof(fileInfoStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }