Represents a text with multiple lines. As lines are added, line breaks are removed as appropriate.
More...
|
void | Add (string text) |
| Adds text to the multiline text. The text to add may consist of multiple lines. The newline separator to use will be guessed. 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 () |
|
| Multiline (bool ignoreHashedComments) |
|
| Multiline (string text) |
| Creates an instance using text as initial text. More...
|
|
| Multiline (string text, bool ignoreHashedComments) |
|
void | Add (string text) |
| Adds text to the multiline text. The text to add may consist of multiple lines. The newline separator to use will be guessed. 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 () |
|
| Multiline (bool ignoreHashedComments) |
|
| Multiline (string text) |
| Creates an instance using text as initial text. More...
|
|
| Multiline (string text, bool ignoreHashedComments) |
|
Represents a text with multiple lines. As lines are added, line breaks are removed as appropriate.
◆ Multiline() [1/8]
Bovender.Text.Multiline.Multiline |
( |
| ) |
|
|
inline |
◆ Multiline() [2/8]
Bovender.Text.Multiline.Multiline |
( |
bool |
ignoreHashedComments | ) |
|
|
inline |
◆ Multiline() [3/8]
Bovender.Text.Multiline.Multiline |
( |
string |
text | ) |
|
|
inline |
Creates an instance using text as initial text.
- Parameters
-
◆ Multiline() [4/8]
Bovender.Text.Multiline.Multiline |
( |
string |
text, |
|
|
bool |
ignoreHashedComments |
|
) |
| |
|
inline |
◆ Multiline() [5/8]
Bovender.Text.Multiline.Multiline |
( |
| ) |
|
|
inline |
◆ Multiline() [6/8]
Bovender.Text.Multiline.Multiline |
( |
bool |
ignoreHashedComments | ) |
|
|
inline |
◆ Multiline() [7/8]
Bovender.Text.Multiline.Multiline |
( |
string |
text | ) |
|
|
inline |
Creates an instance using text as initial text.
- Parameters
-
◆ Multiline() [8/8]
Bovender.Text.Multiline.Multiline |
( |
string |
text, |
|
|
bool |
ignoreHashedComments |
|
) |
| |
|
inline |
◆ Add() [1/4]
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
-
◆ Add() [2/4]
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
-
◆ Add() [3/4]
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 |
◆ Add() [4/4]
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 |
◆ AddLine() [1/2]
void Bovender.Text.Multiline.AddLine |
( |
string |
line | ) |
|
|
inline |
Adds an individual line.
- Parameters
-
◆ AddLine() [2/2]
void Bovender.Text.Multiline.AddLine |
( |
string |
line | ) |
|
|
inline |
Adds an individual line.
- Parameters
-
◆ IgnoreHashedComments
bool Bovender.Text.Multiline.IgnoreHashedComments |
|
getset |
Indicates whether or not to ignore comments that are marked with a hash (#).
◆ NumberOfLines
int Bovender.Text.Multiline.NumberOfLines |
|
get |
◆ Text
string Bovender.Text.Multiline.Text |
|
get |
Gets the multiline text as a single string.
The documentation for this class was generated from the following file: