ProcessArgumentListExtensions.

PrependSwitchSecret(ProcessArgumentBuilder, string, IProcessArgument) Method

Summary

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

Syntax

public static ProcessArgumentBuilder PrependSwitchSecret(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 secret argument to be prepended.

Return Value

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