ProcessArgumentListExtensions.

AppendSwitch(ProcessArgumentBuilder, string, string) Method

Summary

Appends the specified switch to the argument builder.
Namespace
Cake.Core
Containing Type
ProcessArgumentListExtensions

Syntax

public static ProcessArgumentBuilder AppendSwitch(this ProcessArgumentBuilder builder, string switch, string text)

Parameters

Name Type Description
builder ProcessArgumentBuilder The builder.
switch string The switch preceding the text.
text string The text to be appended.

Return Value

Type Description
ProcessArgumentBuilder The same ProcessArgumentBuilder instance so that multiple calls can be chained.