ProcessArgumentListExtensions.

PrependSwitchQuoted(ProcessArgumentBuilder, string, IProcessArgument) Method

Summary

Quotes and prepends the specified argument to the argument builder.
Namespace
Cake.Core
Containing Type
ProcessArgumentListExtensions

Syntax

public static ProcessArgumentBuilder PrependSwitchQuoted(this ProcessArgumentBuilder builder, string switch, IProcessArgument argument)

Parameters

Name Type Description
builder ProcessArgumentBuilder The builder.
switch string The switch preceding the text.
argument IProcessArgument The argument to be quoted and prepended.

Return Value

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