public PackageInstaller(EnvironmentSettings environmentSettings, IApplicationClientFactory applicationClientFactory, IApplication application, IPackageArchiver packageArchiver, ISqlScriptExecutor scriptExecutor, IServiceUrlBuilder serviceUrlBuilder, IFileSystem fileSystem, ILogger logger) { environmentSettings.CheckArgumentNull(nameof(environmentSettings)); applicationClientFactory.CheckArgumentNull(nameof(applicationClientFactory)); application.CheckArgumentNull(nameof(application)); packageArchiver.CheckArgumentNull(nameof(packageArchiver)); scriptExecutor.CheckArgumentNull(nameof(scriptExecutor)); serviceUrlBuilder.CheckArgumentNull(nameof(serviceUrlBuilder)); fileSystem.CheckArgumentNull(nameof(fileSystem)); _environmentSettings = environmentSettings; _applicationClientFactory = applicationClientFactory; _application = application; _packageArchiver = packageArchiver; _scriptExecutor = scriptExecutor; _serviceUrlBuilder = serviceUrlBuilder; _fileSystem = fileSystem; _logger = logger; _applicationClient = _applicationClientFactory.CreateClient(_environmentSettings); _applicationClientForLog = _applicationClientFactory.CreateClient(_environmentSettings); _developerModeEnabled = _environmentSettings.DeveloperModeEnabled.HasValue && _environmentSettings.DeveloperModeEnabled.Value; }
public GetPkgListCommand(EnvironmentSettings environmentSettings, IApplicationPackageListProvider applicationPackageListProvider) { environmentSettings.CheckArgumentNull(nameof(environmentSettings)); applicationPackageListProvider.CheckArgumentNull(nameof(applicationPackageListProvider)); _environmentSettings = environmentSettings; _applicationPackageListProvider = applicationPackageListProvider; }
public NugetExecutor(EnvironmentSettings environmentSettings, IProcessExecutor processExecutor, IWorkingDirectoriesProvider workingDirectoriesProvider) { environmentSettings.CheckArgumentNull(nameof(environmentSettings)); processExecutor.CheckArgumentNull(nameof(processExecutor)); workingDirectoriesProvider.CheckArgumentNull(nameof(workingDirectoriesProvider)); _environmentSettings = environmentSettings; _processExecutor = processExecutor; _workingDirectoriesProvider = workingDirectoriesProvider; }
public Application(EnvironmentSettings environmentSettings, IApplicationClient applicationClient, IServiceUrlBuilder serviceUrlBuilder) { environmentSettings.CheckArgumentNull(nameof(environmentSettings)); applicationClient.CheckArgumentNull(nameof(applicationClient)); serviceUrlBuilder.CheckArgumentNull(nameof(serviceUrlBuilder)); _environmentSettings = environmentSettings; _applicationClient = applicationClient; _serviceUrlBuilder = serviceUrlBuilder; }
public ServiceUrlBuilder(EnvironmentSettings environmentSettings) { environmentSettings.CheckArgumentNull(nameof(environmentSettings)); _environmentSettings = environmentSettings; }