public PiSyncService(IDataAccessDispatcher dispatcher, Func <IVideoProcessor> videoProcessorInstantiator, IPiApiClientFactory piClientFactory, IDeviceStatusService deviceStatusService) { this.dispatcher = dispatcher; this.videoProcessorInstantiator = videoProcessorInstantiator; this.piClientFactory = piClientFactory; this.deviceStatusService = deviceStatusService; }
public DeviceStatusControl(IUnityContainer container, IDeviceStatusService deviceStatusService) : this() { //To resolve this view model, the necessary services must have already been registered in the container this.DataContext = container.Resolve<DeviceStatusControlViewModel>(new ParameterOverride("deviceStatusService", deviceStatusService)); }
public DeviceStatusControlViewModel(IDeviceStatusService deviceStatusService) { _deviceStatusService = deviceStatusService; //Forward property changed events from IDeviceStatusService. _deviceStatusService.PropertyChanged += ReRaisePropertyChanged; }
public DeviceStatusControl(IUnityContainer container, IDeviceStatusService deviceStatusService) : this() { //To resolve this view model, the necessary services must have already been registered in the container this.DataContext = container.Resolve <DeviceStatusControlViewModel>(new ParameterOverride("deviceStatusService", deviceStatusService)); }
public DeviceStatusControlViewModel(IDeviceStatusService deviceStatusService) { _deviceStatusService = deviceStatusService; //Forward property changed events from IDeviceStatusService. _deviceStatusService.PropertyChanged += ReRaisePropertyChanged; }
public DeviceController(IDataAccessDispatcher dataAccessDispatcher, IDeviceStatusService deviceStatusService) { this.dataAccessDispatcher = dataAccessDispatcher; this.deviceStatusService = deviceStatusService; }