public NodeHandlers(IEventServer eventServer, IDeviceQuery deviceQuery, IDeviceRepository deviceRepository, ITemperatureRepository temperatureRepository) { this.eventServer = eventServer; this.deviceQuery = deviceQuery; this.deviceRepository = deviceRepository; this.temperatureRepository = temperatureRepository; }
public DeviceHandlers(IDeviceRepository repository, IEventServer eventServer, IDeviceQuery deviceQuery) { this.repository = repository; this.eventServer = eventServer; this.deviceQuery = deviceQuery; }
public ViewScheduleFactory(IDeviceQuery deviceQuery) { this.deviceQuery = deviceQuery; }
public WaterController(IMediator mediator, IDeviceQuery filterDeviceQuery) { _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _filterDeviceQuery = filterDeviceQuery ?? throw new ArgumentNullException(nameof(filterDeviceQuery));; }
public DevicesController(ICommandBus commandBus, IDeviceQuery deviceQuery) { this.commandBus = commandBus; this.deviceQuery = deviceQuery; }
public TemperatureReader(IDeviceQuery query, ICommandBus commandBus) : base(new State() { CommandBus = commandBus, DeviceQuery = query }) { }