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)); }
public BuildingBaseInfoManager(IBuildingBaseInfoStore buildingBaseInfoStore, IMapper mapper) { Store = buildingBaseInfoStore ?? throw new ArgumentNullException(nameof(buildingBaseInfoStore)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }