public Deployments( AppConfig config, ILogger <Deployments> logger, IDeploymentEventLog deploymentLog, ITenantConnectionHelper tenantConnectionHelper, IConfigClient packagesConfigClient, IStorageAdapterClient client, IDevices devices, IStorageClient storageClient, IAppConfigurationClient appConfigurationClient) { if (config == null) { throw new ArgumentNullException("config"); } this.tenantHelper = tenantConnectionHelper; this.deploymentLog = deploymentLog; this.logger = logger; this.configClient = packagesConfigClient; this.client = client; this.devices = devices; this.config = config; this.storageClient = storageClient; this.appConfigurationClient = appConfigurationClient; }
public Devices(AppConfig config, ITenantConnectionHelper tenantConnectionHelper) { if (config == null) { throw new ArgumentNullException("config"); } this.tenantConnectionHelper = tenantConnectionHelper; }
public Devices(AppConfig config, ITenantConnectionHelper tenantConnectionHelper, IAsaManagerClient asaManagerClient) { if (config == null) { throw new ArgumentNullException("config"); } this.tenantConnectionHelper = tenantConnectionHelper; this.asaManager = asaManagerClient; }
public Jobs(AppConfig config, IDeviceProperties deviceProperties, ITenantConnectionHelper tenantConnectionHelper) { if (config == null) { throw new ArgumentNullException("config"); } this.tenantConnectionHelper = tenantConnectionHelper; this.deviceProperties = deviceProperties; }
public Deployments(AppConfig config, ILogger <Deployments> logger, ITenantConnectionHelper tenantConnectionHelper) { if (config == null) { throw new ArgumentNullException("config"); } this.tenantHelper = tenantConnectionHelper; this.logger = logger; }
public Deployments( AppConfig config, ILogger <Deployments> logger, IDeploymentEventLog deploymentLog, ITenantConnectionHelper tenantConnectionHelper, IConfigClient packagesConfigClient) { if (config == null) { throw new ArgumentNullException("config"); } this.tenantHelper = tenantConnectionHelper; this.deploymentLog = deploymentLog; this.logger = logger; this.configClient = packagesConfigClient; }
public Devices( AppConfig config, ITenantConnectionHelper tenantConnectionHelper, IAsaManagerClient asaManagerClient, IDeviceQueryCache deviceQueryCache, IStorageClient storageClient) { if (config == null) { throw new ArgumentNullException("config"); } this.tenantConnectionHelper = tenantConnectionHelper; this.asaManager = asaManagerClient; this.deviceQueryCache = deviceQueryCache; this.storageClient = storageClient; }
public Devices( AppConfig config, ITenantConnectionHelper tenantConnectionHelper, IAsaManagerClient asaManagerClient, IDeviceQueryCache deviceQueryCache, IStorageClient storageClient, IAppConfigurationClient appConfigurationClient, IKustoQueryClient kustoQueryClient) { if (config == null) { throw new ArgumentNullException("config"); } this.kustoEnabled = config.DeviceTelemetryService.Messages.TelemetryStorageType.Equals( TelemetryStorageTypeConstants.Ade, StringComparison.OrdinalIgnoreCase); this.kustoQueryClient = kustoQueryClient; this.tenantConnectionHelper = tenantConnectionHelper; this.asaManager = asaManagerClient; this.deviceQueryCache = deviceQueryCache; this.storageClient = storageClient; this.appConfigurationClient = appConfigurationClient; }
public Deployments(ITenantConnectionHelper tenantHelper) { this.tenantHelper = tenantHelper ?? throw new ArgumentNullException("tenantHelper"); }
public Devices(ITenantConnectionHelper tenantConnectionHelper, string ioTHubHostName) { this.tenantConnectionHelper = tenantConnectionHelper ?? throw new ArgumentNullException("tenantConnectionHelper " + ioTHubHostName); }