Méthode | Description | |
---|---|---|
IndentBy ( this |
Indents each line by specified number of spaces.
|
|
IndentBy ( this |
Indents each line by specified number of spaces.
|
|
IndentLinesBy ( this lines, int leadingSpaces ) : string |
Indents each line by specified number of spaces.
|
|
IndentLinesBy ( this lines, int leadingSpaces, IndentOptions options ) : string |
Indents each line by specified number of spaces.
|
|
JoinLines ( this |
Join lines by using Environment.NewLine.
|
|
ShortenTo ( this text, int length ) : string |
Fits the text into length, appending
|
|
ShortenTo ( this text, int length, string hint ) : string |
Fits the text into length, appending hint if it is too long.
|
|
SplitLines ( this input ) : IEnumerable |
Splits into lines by using Environment.NewLine.
|
|
WrapAt ( this input, int margin ) : IEnumerable |
Wraps lines exceeding a certain margin. For each line, the indentation is maintained. based on: http://blueonionsoftware.com/blog.aspx?p=6091173d-6bdb-498c-9d57-c0da43319839 |
Méthode | Description | |
---|---|---|
HasAnyFlag ( this value, |
copied from http://www.mmowned.com/forums/world-of-warcraft/bots-programs/memory-editing/297201-net-4-0-enum-hasflag-not-what-you-might-expect.html |
public static IndentBy ( this |
||
lines | this |
|
leadingSpaces | int | |
Résultat | IEnumerable |
public static IndentBy ( this |
||
lines | this |
|
leadingSpaces | int | |
options | IndentOptions | |
Résultat | IEnumerable |
public static IndentLinesBy ( this lines, int leadingSpaces ) : string | ||
lines | this | |
leadingSpaces | int | |
Résultat | string |
public static IndentLinesBy ( this lines, int leadingSpaces, IndentOptions options ) : string | ||
lines | this | |
leadingSpaces | int | |
options | IndentOptions | |
Résultat | string |
public static JoinLines ( this |
||
lines | this |
|
Résultat | string |
public static ShortenTo ( this text, int length ) : string | ||
text | this | |
length | int | |
Résultat | string |
public static ShortenTo ( this text, int length, string hint ) : string | ||
text | this | |
length | int | |
hint | string | |
Résultat | string |
public static SplitLines ( this input ) : IEnumerable |
||
input | this | |
Résultat | IEnumerable |
public static WrapAt ( this input, int margin ) : IEnumerable |
||
input | this | |
margin | int | |
Résultat | IEnumerable |