ProcessArgumentListExtensions.

PrependSwitchQuotedSecret(ProcessArgumentBuilder, string, string, string) Method

Summary

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

Syntax

public static ProcessArgumentBuilder PrependSwitchQuotedSecret(this ProcessArgumentBuilder builder, string switch, string separator, string text)

Parameters

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

Return Value

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