Summary
Quotes and prepend the specified secret text to the argument builder.
Syntax
public static ProcessArgumentBuilder PrependSwitchQuotedSecret(this ProcessArgumentBuilder builder, string switch, string text)
Examples
var args = new ProcessArgumentBuilder()
.Append("login")
.PrependSwitchQuotedSecret("--password", Argument<string>("password"));
Parameters
| Name |
Type |
Description |
| builder |
ProcessArgumentBuilder |
The builder. |
| switch |
string |
The switch preceding the text. |
| text |
string |
The secret text to be quoted and prepended. |
Return Value