Summary
Contains extension methods for
string.
- Namespace
- Cake
.Core - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["StringExtensions"]
class Type type-node
Syntax
public static class StringExtensions
Methods
| Name | Value | Summary |
|---|---|---|
| NormalizeLineEndings |
string |
Normalizes the line endings in a
string.
static
|
| Quote |
string |
Quotes the specified
string as a process argument literal.
Trailing backslashes and embedded quotes are escaped so a standard Windows
argv parser recovers the original value.
static
|
| SplitLines |
string[] |
Splits the
string into lines.
static
|
| UnQuote |
string |
Unquotes a process argument token produced by
Quote(string) /
Escape(string, bool).
Trailing backslashes and embedded quotes are unescaped; this is not a naive trim of ".
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
From StringExtensions
Requires the Cake.Issues addin
|
