public IfcParserService( IIfcSpaceService ifcSpaceService, ISpaceRepository spaceRepository, IProjectRepository projectRepository, ISiteRepository siteRepository, IBuildingRepository buildingRepository, IFloorRepository floorRepository, IWallRepository wallRepository, IWindowRepository windowRepository, IIfcWindowService ifcWindowService, IIfcWallService ifcWallService, IIfcGeometryService ifcGeometryService, IMapper mapper) { _ifcGeometryService = ifcGeometryService; _spaceRepository = spaceRepository; _ifcSpaceService = ifcSpaceService; _projectRepository = projectRepository; _siteRepository = siteRepository; _buildingRepository = buildingRepository; _floorRepository = floorRepository; _wallRepository = wallRepository; _ifcWallService = ifcWallService; _ifcWindowService = ifcWindowService; _windowRepository = windowRepository; _mapper = mapper; }
/// <inheritdoc /> Floor IRepository <int, Floor> .Find(int identifier) { IFloorRepository self = this; var request = new FloorRequest { ContinentId = self.ContinentId, Floor = identifier, Culture = self.Culture }; var response = this.serviceClient.Send <FloorDTO>(request); if (response.Content == null) { return(null); } var floor = this.floorConverter.Convert(response.Content, null); if (floor == null) { return(null); } floor.ContinentId = this.continentId; floor.FloorId = identifier; floor.Culture = request.Culture; return(floor); }
/// <inheritdoc /> async Task <Floor> IRepository <int, Floor> .FindAsync(int identifier, CancellationToken cancellationToken) { IFloorRepository self = this; var request = new FloorRequest { ContinentId = self.ContinentId, Floor = identifier, Culture = self.Culture }; var response = await this.serviceClient.SendAsync <FloorDTO>(request, cancellationToken).ConfigureAwait(false); if (response.Content == null) { return(null); } var floor = this.floorConverter.Convert(response.Content, response); if (floor == null) { return(null); } floor.ContinentId = this.continentId; floor.FloorId = identifier; floor.Culture = response.Culture; return(floor); }
public DashBoardService(IBuildingRepository buildingRepository, IFloorRepository floorRepository, IRoomRepository roomRepository, ISensorRepository sensorRepository, ILogger <DashBoardService> logger, IMapper mapper) { _buildingRepository = buildingRepository; _floorRepository = floorRepository; _roomRepository = roomRepository; _sensorRepository = sensorRepository; _logger = logger; _mapper = mapper; }
public DeviceController(IDeviceRepository deviceRepository, IRoomMetadataRepository roomMetadataRepository, IFloorRepository floorRepository, IBuildingRepository buildingRepository, IBroadcastService broadcastService, IDeviceStatusRepository deviceStatusRepository, IOrganizationRepository organizationRepository, IGlobalAdministratorRepository globalAdministratorRepository) : base(organizationRepository, globalAdministratorRepository) { _deviceRepository = deviceRepository; _roomMetadataRepository = roomMetadataRepository; _floorRepository = floorRepository; _buildingRepository = buildingRepository; _broadcastService = broadcastService; _deviceStatusRepository = deviceStatusRepository; }
public LocationService(ILocationRepository _repository, IRoomRepository _repositoryRoom, IFloorRepository _repositoryFloor, IBuildingRepository _repositoryBuilding) { repository = _repository; repositoryRoom = _repositoryRoom; repositoryFloor = _repositoryFloor; repositoryBuilding = _repositoryBuilding; }
public FloorManager(ILocationRepository locationRepository, IFloorRepository floorRepository, IFileStorageService fileStorageService, AccountManager accountManager, IOptionsMonitor <UploadOptions> uploadOptions, ILogger <FloorManager> logger) { _locationRepository = locationRepository; _floorRepository = floorRepository; _fileStorageService = fileStorageService; _accountManager = accountManager; _uploadOptions = uploadOptions.CurrentValue; _logger = logger; }
public FloorPagerAdapter(v4FragmentManager fm, DbHelper DAO) : base(fm) { Log.Info(tag, "FloorPagerAdapter constructor calling"); this.DAO = DAO; floorRepository = DAO.CreateRepository <Floor>(null) as IFloorRepository; floors = floorRepository.GetArray(); Filter = new FloorFilter(this); }
/// <summary>Creates an instance for the given language.</summary> /// <param name="continentId">The continent identifier.</param> /// <param name="culture">The culture.</param> /// <exception cref="ArgumentNullException">The value of <paramref name="culture"/> is a null reference.</exception> /// <returns>A repository.</returns> public IFloorRepository ForCulture(int continentId, CultureInfo culture) { if (culture == null) { throw new ArgumentNullException("culture"); } IFloorRepository repository = this.ForDefaultCulture(continentId); repository.Culture = culture; return(repository); }
/// <inheritdoc /> Task <Floor> IRepository <int, Floor> .FindAsync(int identifier, CancellationToken cancellationToken) { IFloorRepository self = this; var request = new FloorRequest { ContinentId = self.ContinentId, Floor = identifier, Culture = self.Culture }; var responseTask = this.serviceClient.SendAsync <FloorDataContract>(request, cancellationToken); return(responseTask.ContinueWith(task => this.ConvertAsyncResponse(task, this.continentId, identifier, request.Culture), cancellationToken)); }
public ExchangeRestConferenceRoomService(ExchangeRestWrapper exchange, GraphRestWrapper graph, IContextService contextService, IDateTimeService dateTimeService, IBuildingRepository buildingRepository, IFloorRepository floorRepository, IMeetingRepository meetingRepository, IBroadcastService broadcastService, ISignatureService signatureService, ISmsAddressLookupService smsAddressLookupService, ISmsMessagingService smsMessagingService, IRoomMetadataRepository roomRepository, IMeetingCacheService meetingCacheService, IExchangeRestChangeNotificationService exchangeRestChangeNotificationService, ISimpleTimedCache simpleTimedCache, MeetingCacheReloaderFactory meetingCacheReloaderFactory) { _exchange = exchange; _graph = graph; _contextService = contextService; _dateTimeService = dateTimeService; _buildingRepository = buildingRepository; _floorRepository = floorRepository; _meetingRepository = meetingRepository; _broadcastService = broadcastService; _signatureService = signatureService; _smsAddressLookupService = smsAddressLookupService; _smsMessagingService = smsMessagingService; _roomRepository = roomRepository; _meetingCacheService = meetingCacheService; _exchangeRestChangeNotificationService = exchangeRestChangeNotificationService; _simpleTimedCache = simpleTimedCache; _meetingCacheReloaderFactory = meetingCacheReloaderFactory; }
public ExchangeConferenceRoomService(IMeetingRepository meetingRepository, IBroadcastService broadcastService, IDateTimeService dateTimeService, IMeetingCacheService meetingCacheService, IChangeNotificationService changeNotificationService, IExchangeServiceManager exchangeServiceManager, ISimpleTimedCache simpleTimedCache, ISmsMessagingService smsMessagingService, ISmsAddressLookupService smsAddressLookupService, ISignatureService signatureService, IRoomMetadataRepository roomRepository, IBuildingRepository buildingRepository, IFloorRepository floorRepository, IContextService contextService, IConferenceRoomDiscoveryService exchangeConferenceRoomDiscoveryService, ExchangeConferenceRoomServiceConfiguration config) { if (config == null) { throw new ArgumentNullException(nameof(config)); } _meetingRepository = meetingRepository; _broadcastService = broadcastService; _dateTimeService = dateTimeService; _meetingCacheService = meetingCacheService; _changeNotificationService = changeNotificationService; _exchangeServiceManager = exchangeServiceManager; _simpleTimedCache = simpleTimedCache; _smsMessagingService = smsMessagingService; _smsAddressLookupService = smsAddressLookupService; _signatureService = signatureService; _roomRepository = roomRepository; _buildingRepository = buildingRepository; _floorRepository = floorRepository; _contextService = contextService; _exchangeConferenceRoomDiscoveryService = exchangeConferenceRoomDiscoveryService; _ignoreFree = config.IgnoreFree; _useChangeNotification = config.UseChangeNotification; _impersonateForAllCalls = config.ImpersonateForAllCalls; _emailDomains = config.EmailDomains; }
public FloorService(IFloorRepository floorRepository) { _floorRepository = floorRepository; }
public SelectController(IRoomMetadataRepository roomRepository, IFloorRepository floorRepository, IBuildingRepository buildingRepository, IOrganizationRepository organizationRepository, IGlobalAdministratorRepository globalAdministratorRepository) : base(organizationRepository, globalAdministratorRepository) { _roomRepository = roomRepository; _floorRepository = floorRepository; _buildingRepository = buildingRepository; }
public FloorService(IFloorRepository _repository, ILocationRepository _repositoryLocation) { repository = _repository; repositoryLocation = _repositoryLocation; }
public FloorPlanController(ILogger <FloorPlanController> logger, IFloorRepository floorRepository) { _logger = logger; _floorRepository = floorRepository; }
public FloorController(IFloorRepository floorRepository, IBuildingRepository buildingRepository, IOrganizationRepository organizationRepository, IGlobalAdministratorRepository globalAdministratorRepository) : base(organizationRepository, globalAdministratorRepository) { _floorRepository = floorRepository; _buildingRepository = buildingRepository; }
public SlotService(ISlotRepository slotRepository, IFloorRepository floorRepository, ILogger <SlotService> logger) { _slotRepository = slotRepository ?? throw new ArgumentNullException(nameof(slotRepository)); _floorRepository = floorRepository ?? throw new ArgumentNullException(nameof(floorRepository)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public FloorApiController(IFloorRepository floorRepository, IElevatorRepository elevatorRepository, IElevatorManagerService elevatorManagerService) { _floorRepository = floorRepository; _elevatorRepository = elevatorRepository; _elevatorManagerService = elevatorManagerService; }
/// <inheritdoc /> Task <Floor> IRepository <int, Floor> .FindAsync(int identifier) { IFloorRepository self = this; return(self.FindAsync(identifier, CancellationToken.None)); }
public EmployeeService(IEmployeeRepository repository, IFloorRepository floorRepository) { _repository = repository; _floorRepository = floorRepository; }
public ElevatorManagerService(IElevatorRepository elevatorRepository, IFloorRepository floorRepository) { _elevatorRepository = elevatorRepository; _floorRepository = floorRepository; _waitTime = 1000; }
public FloorService() { _floorRepository = new FloorRepository(); }
public MarkerManager(ILocationRepository locationRepository, IFloorRepository floorRepository, AccountManager accountManager) { _floorRepository = floorRepository; _accountManager = accountManager; }
public DummyDataInitializer(IFloorRepository floorRepository) { _floorRepository = floorRepository; }