public StaticSensorReadingCreatedNotificationHandler(IPWADispatchHelper pwaDispatchHelper, ISensorCacheHelper sensorCacheHelper, IDataContextFactory <DataContext> dataContextFactory) { _pwaDispatchHelper = pwaDispatchHelper ?? throw new ArgumentNullException(nameof(pwaDispatchHelper)); _sensorCacheHelper = sensorCacheHelper ?? throw new ArgumentNullException(nameof(sensorCacheHelper)); _dataContextFactory = dataContextFactory ?? throw new ArgumentNullException(nameof(dataContextFactory)); }
public EmulationStartedNotificationHandler(IApplicationDatabaseInitializer applicationDatabaseInitializer, IDataContextFactory <DataContext> dataContextFactory, ISensorCacheHelper sensorCacheHelper) { _applicationDatabaseInitializer = applicationDatabaseInitializer ?? throw new ArgumentNullException(nameof(applicationDatabaseInitializer)); _dataContextFactory = dataContextFactory ?? throw new ArgumentNullException(nameof(dataContextFactory)); _sensorCacheHelper = sensorCacheHelper ?? throw new ArgumentNullException(nameof(sensorCacheHelper)); }
public EmulationStoppedNotificationHandler(ISensorCacheHelper sensorCacheHelper, IEmulationDataContextFactory <DataContext> emulationDataContextFactory) { _sensorCacheHelper = sensorCacheHelper ?? throw new ArgumentNullException(nameof(sensorCacheHelper)); _emulationDataContextFactory = emulationDataContextFactory ?? throw new ArgumentNullException(nameof(emulationDataContextFactory)); }
public StaticSensorVisibilityStateChangedNotificationHandler(ISensorCacheHelper sensorCacheHelper, IDataContextFactory <DataContext> dataContextFactory) { _sensorCacheHelper = sensorCacheHelper ?? throw new ArgumentNullException(nameof(sensorCacheHelper)); _dataContextFactory = dataContextFactory ?? throw new ArgumentNullException(nameof(dataContextFactory)); }
public UpdateCacheApplicationInitializedNotificationHandler(IDataContextFactory <DataContext> dataContextFactory, ISensorCacheHelper sensorCacheHelper) { _dataContextFactory = dataContextFactory; _sensorCacheHelper = sensorCacheHelper; }
public SensorDeletedNotificationHandler(ISensorCacheHelper sensorCacheHelper) { _sensorCacheHelper = sensorCacheHelper ?? throw new ArgumentNullException(nameof(sensorCacheHelper)); }
public ReadingsQueries(ISensorCacheHelper sensorCacheHelper, IMapper mapper) { _sensorCacheHelper = sensorCacheHelper ?? throw new ArgumentNullException(nameof(sensorCacheHelper)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }