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

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