GenericPlinkRunner<TSettings>.

RunWithResult<T>(string, string, TSettings, Func<IEnumerable<string>, T[]>) Method

Summary

Runs a command and returns a result based on processed output.
Assembly
Cake.Putty.dll
Namespace
Cake.Putty
Containing Type
GenericPlinkRunner<TSettings>

Syntax

public T[] RunWithResult<T>(string host, string command, TSettings settings, Func<IEnumerable<string>, T[]> processOutput)

Type Parameters

Name Description
T

Parameters

Name Type Description
host string
command string
settings TSettings
processOutput Func<IEnumerable<string>, T[]>

Return Value

Type Description
T[]