ProcessArgumentListExtensions.

AppendSwitchSecret(ProcessArgumentBuilder, string, string, IProcessArgument) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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