public DeviceController(IDeviceLogic deviceLogic,
                                IDeviceTypeLogic deviceTypeLogic,
                                IConfigurationProvider configProvider,
                                IApiRegistrationRepository apiRegistrationRepository,
                                ICellularExtensions cellularExtensions,
                                IJobRepository jobRepository,
                                IUserSettingsLogic userSettingsLogic,
                                IIoTHubDeviceManager deviceManager,
                                IDeviceIconRepository iconRepository)
        {
            _deviceLogic               = deviceLogic;
            _deviceTypeLogic           = deviceTypeLogic;
            _apiRegistrationRepository = apiRegistrationRepository;
            _cellularExtensions        = cellularExtensions;
            _jobRepository             = jobRepository;
            _userSettingsLogic         = userSettingsLogic;
            _deviceManager             = deviceManager;
            _iconRepository            = iconRepository;

            _iotHubName = configProvider.GetConfigurationSettingValue("iotHub.HostName");
        }
Exemplo n.º 2
0
 public DeviceIconApiController(IIoTHubDeviceManager deviceManager, IDeviceIconRepository deviceIconRepository)
 {
     this._deviceIconRepository = deviceIconRepository;
     this._deviceManager        = deviceManager;
 }