Beispiel #1
0
 public AdminService(
     ILightRepository lightRepository,
     ILightPartRepository lightPartRepository,
     IPartRepository partRepository)
 {
     _lightRepository     = lightRepository;
     _lightPartRepository = lightPartRepository;
     _partRepository      = partRepository;
 }
Beispiel #2
0
 public LookupService(
     ILightRepository lightRepository,
     ILightPartRepository lightPartRepository,
     IPartRepository partRepository)
 {
     _lightRepository     = lightRepository;
     _lightPartRepository = lightPartRepository;
     _partRepository      = partRepository;
 }
Beispiel #3
0
 public LightCommandHandler(ILightRepository lightRepository, IRoomRepository roomRepository, IArduinoCommunicationService arduinoCommunicationService)
 {
     _lightRepository             = lightRepository;
     _roomRepository              = roomRepository;
     _arduinoCommunicationService = arduinoCommunicationService;
 }
Beispiel #4
0
        public LightController(ILightRepository lightRepository, HostingEnvironment hostingEnvironment)
        {
            _lightRepository = lightRepository;

            this.hostingEnvironment = hostingEnvironment;
        }
Beispiel #5
0
 public ContaController(ILightRepository lightRepository, IHouseRepository houseRepository)
 {
     this.lightRepository = lightRepository;
     this.houseRepository = houseRepository;
 }
Beispiel #6
0
 public ContaController(ILightRepository repository)
 {
     this.repository = repository;
 }
 public LightService(ILightRepository lightRepository)
 {
     _lightRepository = lightRepository ?? throw new ArgumentNullException(nameof(lightRepository));
 }
 public LightConfigurator(ILightRepository repository)
 {
     _repository = repository;
 }