Represents a text with multiple lines.
More...
|
| void | Add (string text) |
| | Adds text to the multiline text. More...
|
| |
| void | Add (string text, string newLineSeparator) |
| | Adds text to the multiline text by splitting it into multiple lines by the newLineSeparator . More...
|
| |
| void | AddLine (string line) |
| | Adds an individual line. More...
|
| |
|
| Multiline (bool ignoreHashedComments) |
| |
| | Multiline (string text) |
| | Creates an instance using text as initial text. More...
|
| |
|
| Multiline (string text, bool ignoreHashedComments) |
| |
|
| string | Text [get] |
| | Gets the multiline text as a single string. More...
|
| |
|
int | NumberOfLines [get] |
| |
| bool | IgnoreHashedComments [get, set] |
| | Indicates whether or not to ignore comments that are marked with a hash (#). More...
|
| |
Represents a text with multiple lines.
As lines are added, line breaks are removed as appropriate.
Definition at line 31 of file Multiline.cs.
| Bovender.Text.Multiline.Multiline |
( |
string |
text | ) |
|
|
inline |
Creates an instance using text as initial text.
- Parameters
-
Definition at line 144 of file Multiline.cs.
| void Bovender.Text.Multiline.Add |
( |
string |
text | ) |
|
|
inline |
Adds text to the multiline text.
The text to add may consist of multiple lines. The newline separator to use will be guessed.
- Parameters
-
Definition at line 75 of file Multiline.cs.
| void Bovender.Text.Multiline.Add |
( |
string |
text, |
|
|
string |
newLineSeparator |
|
) |
| |
|
inline |
Adds text to the multiline text by splitting it into multiple lines by the newLineSeparator .
- Parameters
-
| text | Text to add |
| newLineSeparator | Line separator |
Definition at line 86 of file Multiline.cs.
| void Bovender.Text.Multiline.AddLine |
( |
string |
line | ) |
|
|
inline |
Adds an individual line.
- Parameters
-
Definition at line 99 of file Multiline.cs.
| bool Bovender.Text.Multiline.IgnoreHashedComments |
|
getset |
Indicates whether or not to ignore comments that are marked with a hash (#).
Definition at line 63 of file Multiline.cs.
| string Bovender.Text.Multiline.Text |
|
get |
Gets the multiline text as a single string.
Definition at line 39 of file Multiline.cs.
The documentation for this class was generated from the following file: