Method | 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 |
Method | 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 | |
return | IEnumerable |
public static IndentBy ( this |
||
lines | this |
|
leadingSpaces | int | |
options | IndentOptions | |
return | IEnumerable |
public static IndentLinesBy ( this lines, int leadingSpaces ) : string | ||
lines | this | |
leadingSpaces | int | |
return | string |
public static IndentLinesBy ( this lines, int leadingSpaces, IndentOptions options ) : string | ||
lines | this | |
leadingSpaces | int | |
options | IndentOptions | |
return | string |
public static JoinLines ( this |
||
lines | this |
|
return | string |
public static ShortenTo ( this text, int length ) : string | ||
text | this | |
length | int | |
return | string |
public static ShortenTo ( this text, int length, string hint ) : string | ||
text | this | |
length | int | |
hint | string | |
return | string |
public static SplitLines ( this input ) : IEnumerable |
||
input | this | |
return | IEnumerable |
public static WrapAt ( this input, int margin ) : IEnumerable |
||
input | this | |
margin | int | |
return | IEnumerable |