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));
 }
Exemplo n.º 2
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));
 }