GenericPlinkRunner<TSettings> Class

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

Syntax

public class GenericPlinkRunner<TSettings> : PlinkTool<TSettings> 
    where TSettings : AutoToolSettings, new()

Type Parameters

Name Description
TSettings

Constructors

Methods

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

Extension Methods

Name Value Summary
Dump<GenericPlinkRunner<TSettings>>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GenericPlinkRunner<TSettings>>(GenericPlinkRunner<TSettings>[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GenericPlinkRunner<TSettings>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GenericPlinkRunner<TSettings>>(string) void
Requires the Cake.Issues addin
ThrowIfNull<GenericPlinkRunner<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
ThrowIfNull<GenericPlinkRunner<TSettings>>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin