![]() |
BadScript 2
|
Static Public Member Functions | |
static StringBuilder | AppendWhen (this StringBuilder builder, bool condition, params string[] values) |
static StringBuilder | AppendWhen (this StringBuilder builder, bool condition, params char[] values) |
static StringBuilder | AppendFormatWhen (this StringBuilder builder, bool condition, string format, params object[] args) |
static StringBuilder | AppendIf (this StringBuilder builder, bool condition, string ifTrue, string ifFalse) |
static StringBuilder | BimapIf (this StringBuilder builder, bool condition, Func< StringBuilder, StringBuilder > ifTrue, Func< StringBuilder, StringBuilder > ifFalse) |
static StringBuilder | MapIf (this StringBuilder builder, bool condition, Func< StringBuilder, StringBuilder > ifTrue) |
static StringBuilder | AppendIfNotEmpty (this StringBuilder builder, params string[] values) |
static string | SafeToString (this StringBuilder builder) |
static int | SafeLength (this StringBuilder builder) |
static StringBuilder | TrimEnd (this StringBuilder builder, char c) |
static StringBuilder | TrimEndIfMatch (this StringBuilder builder, char c) |
static StringBuilder | TrimEndIfMatchWhen (this StringBuilder builder, bool condition, char c) |
static int | TrailingSpaces (this StringBuilder builder) |
static bool | SafeStartsWith (this StringBuilder builder, string s) |
Indicates whether the string value of a System.Text.StringBuilder starts with the input System.String parameter. Returns false if either the StringBuilder or input string is null or empty. | |
static bool | SafeEndsWith (this StringBuilder builder, string s) |
Indicates whether the string value of a System.Text.StringBuilder ends with the input System.String parameter. Returns false if either the StringBuilder or input string is null or empty. | |
Definition at line 8 of file StringBuilderExtensions.cs.
|
static |
Definition at line 36 of file StringBuilderExtensions.cs.
|
static |
Definition at line 46 of file StringBuilderExtensions.cs.
|
static |
Definition at line 72 of file StringBuilderExtensions.cs.
|
static |
Definition at line 23 of file StringBuilderExtensions.cs.
|
static |
Definition at line 10 of file StringBuilderExtensions.cs.
|
static |
Definition at line 53 of file StringBuilderExtensions.cs.
|
static |
Definition at line 63 of file StringBuilderExtensions.cs.
|
static |
Indicates whether the string value of a System.Text.StringBuilder ends with the input System.String parameter. Returns false if either the StringBuilder or input string is null or empty.
builder | The System.Text.StringBuilder to test. |
s | The System.String to look for. |
Definition at line 184 of file StringBuilderExtensions.cs.
|
static |
Definition at line 92 of file StringBuilderExtensions.cs.
|
static |
Indicates whether the string value of a System.Text.StringBuilder starts with the input System.String parameter. Returns false if either the StringBuilder or input string is null or empty.
builder | The System.Text.StringBuilder to test. |
s | The System.String to look for. |
Definition at line 166 of file StringBuilderExtensions.cs.
|
static |
Definition at line 85 of file StringBuilderExtensions.cs.
|
static |
Definition at line 124 of file StringBuilderExtensions.cs.
|
static |
Definition at line 97 of file StringBuilderExtensions.cs.
|
static |
Definition at line 104 of file StringBuilderExtensions.cs.
|
static |
Definition at line 117 of file StringBuilderExtensions.cs.