/// <summary> /// Initializes a new instance of the <see cref="CloudShellTool{TSettings}" /> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="environment">The environment.</param> /// <param name="processRunner">The process runner.</param> /// <param name="tools">The tools.</param> /// <param name="resolver">The resolver.</param> /// <exception cref="System.ArgumentNullException">Thrown when resolver is null</exception> protected CloudShellTool(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator tools, ICloudShellToolResolver resolver) : base(fileSystem, environment, processRunner, tools) { if (resolver == null) { throw new ArgumentNullException(nameof(resolver)); } _resolver = resolver; }
/// <summary> /// Initializes a new instance of the <see cref="StartVersion" /> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="environment">The environment.</param> /// <param name="processRunner">The process runner.</param> /// <param name="tools">The tools.</param> /// <param name="resolver">The resolver.</param> public StartVersion(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator tools, ICloudShellToolResolver resolver) : base(fileSystem, environment, processRunner, tools, resolver) { }
/// <summary> /// Initializes a new instance of the <see cref="NewPackage"/> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="environment">The environment.</param> /// <param name="processRunner">The process runner.</param> /// <param name="tools">The tools.</param> /// <param name="resolver">The resolver.</param> public NewPackage(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator tools, ICloudShellToolResolver resolver) : base(fileSystem, environment, processRunner, tools, resolver) { this._fileSystem = fileSystem; }
/// <summary> /// Initializes a new instance of the <see cref="ExportManifest" /> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="environment">The environment.</param> /// <param name="processRunner">The process runner.</param> /// <param name="tools">The tools.</param> /// <param name="resolver">The resolver.</param> public ExportManifest(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator tools, ICloudShellToolResolver resolver) : base(fileSystem, environment, processRunner, tools, resolver) { _fileSystem = fileSystem; }
/// <summary> /// Initializes a new instance of the <see cref="SetInstanceCount" /> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="environment">The environment.</param> /// <param name="processRunner">The process runner.</param> /// <param name="tools">The tools.</param> /// <param name="resolver">The resolver.</param> public SetInstanceCount(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator tools, ICloudShellToolResolver resolver) : base(fileSystem, environment, processRunner, tools, resolver) { }
/// <summary> /// Initializes a new instance of the <see cref="GetDeployedAddOns"/> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="environment">The environment.</param> /// <param name="processRunner">The process runner.</param> /// <param name="tools">The tools.</param> /// <param name="resolver">The resolver.</param> public GetDeployedAddOns(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator tools, ICloudShellToolResolver resolver) : base(fileSystem, environment, processRunner, tools, resolver) { }
/// <summary> /// Initializes a new instance of the <see cref="ReadRegisteredClouds"/> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="environment">The environment.</param> /// <param name="processRunner">The process runner.</param> /// <param name="tools">The tools.</param> /// <param name="resolver">The resolver.</param> public ReadRegisteredClouds(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator tools, ICloudShellToolResolver resolver) : base(fileSystem, environment, processRunner, tools, resolver) { }