예제 #1
0
        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;
        }
예제 #2
0
        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;
        }