コード例 #1
0
 public NodeHandlers(IEventServer eventServer, IDeviceQuery deviceQuery, IDeviceRepository deviceRepository, ITemperatureRepository temperatureRepository)
 {
     this.eventServer           = eventServer;
     this.deviceQuery           = deviceQuery;
     this.deviceRepository      = deviceRepository;
     this.temperatureRepository = temperatureRepository;
 }
コード例 #2
0
 public DeviceHandlers(IDeviceRepository repository, IEventServer eventServer, IDeviceQuery deviceQuery)
 {
     this.repository  = repository;
     this.eventServer = eventServer;
     this.deviceQuery = deviceQuery;
 }
コード例 #3
0
 public ViewScheduleFactory(IDeviceQuery deviceQuery)
 {
     this.deviceQuery = deviceQuery;
 }
コード例 #4
0
 public WaterController(IMediator mediator, IDeviceQuery filterDeviceQuery)
 {
     _mediator          = mediator ?? throw new ArgumentNullException(nameof(mediator));
     _filterDeviceQuery = filterDeviceQuery ?? throw new ArgumentNullException(nameof(filterDeviceQuery));;
 }
コード例 #5
0
 public DevicesController(ICommandBus commandBus, IDeviceQuery deviceQuery)
 {
     this.commandBus  = commandBus;
     this.deviceQuery = deviceQuery;
 }
コード例 #6
0
 public TemperatureReader(IDeviceQuery query, ICommandBus commandBus) : base(new State() { CommandBus = commandBus, DeviceQuery = query })
 {
 }