Summary
Escapes process argument values so a standard Windows argv parser
(
CommandLineToArgvW / .NET PasteArguments) recovers the original string.
- Namespace
- Cake
.Core .IO - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ProcessArgumentEscaper"]
class Type type-node
Syntax
public static class ProcessArgumentEscaper
Methods
| Name | Value | Summary |
|---|---|---|
| Escape |
string |
Escapes a literal argument value for inclusion on a process command line.
static
|
| IsQuoted |
bool |
Determines whether value is already wrapped in quotes whose
closing quote is not escaped by a trailing backslash.
static
|
| Unquote |
string |
Returns the literal value encoded by
Escape(string, bool), or value
unchanged when it is not a quoted token produced by this escaper.
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
From StringExtensions
Requires the Cake.Issues addin
|
