Пример #1
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));
 }
Пример #2
0
 public BuildingShopInfoManager(IBuildingShopInfoStore buildingShopInfoStore, IMapper mapper)
 {
     Store   = buildingShopInfoStore ?? throw new ArgumentNullException(nameof(buildingShopInfoStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }