GenericPscpRunner<TSettings> Class

Assembly
Cake.Putty.dll
Namespace
Cake.Putty
Base Types
graph BT Type-->Base0["PscpTool<TSettings>"] Base0-->Base1["Tool<TSettings>"] Type["GenericPscpRunner<TSettings>"] class Type type-node

Syntax

public class GenericPscpRunner<TSettings> : PscpTool<TSettings> 
    where TSettings : AutoToolSettings, new()

Type Parameters

Name Description
TSettings

Constructors

Methods

Name Value Summary
Run(string, TSettings, string[]) void
Runs given command using given settings and additional.
Run(TSettings, IList<string>) void
Runs using given settings and additional.
RunWithResult<T>(string, TSettings, Func<IEnumerable<string>, T[]>, string[]) T[]
Runs a command and returns a result based on processed output.

Extension Methods

Name Value Summary
Dump<GenericPscpRunner<TSettings>>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GenericPscpRunner<TSettings>>(GenericPscpRunner<TSettings>[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GenericPscpRunner<TSettings>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GenericPscpRunner<TSettings>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<GenericPscpRunner<TSettings>>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GenericPscpRunner<TSettings>>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin