Provides base properties for creating an attribute, used to define multiple lines of text.
More...
|
| | MultilineTextAttribute (string line1) |
| | Initializes a new instance of the MultilineTextAttribute class. Used in derived type using one line of text. More...
|
| |
| | MultilineTextAttribute (string line1, string line2) |
| | Initializes a new instance of the MultilineTextAttribute class. Used in type using two lines of text. More...
|
| |
| | MultilineTextAttribute (string line1, string line2, string line3) |
| | Initializes a new instance of the MultilineTextAttribute class. Used in type using three lines of text. More...
|
| |
| | MultilineTextAttribute (string line1, string line2, string line3, string line4) |
| | Initializes a new instance of the MultilineTextAttribute class. Used in type using four lines of text. More...
|
| |
| | MultilineTextAttribute (string line1, string line2, string line3, string line4, string line5) |
| | Initializes a new instance of the MultilineTextAttribute class. Used in type using five lines of text. More...
|
| |
| virtual int | GetLastLineWithText (string[] value) |
| | Returns the last line with text. Preserves blank lines if user intended by skipping a line. More...
|
| |
Provides base properties for creating an attribute, used to define multiple lines of text.
| CommandLine.Text.MultilineTextAttribute.MultilineTextAttribute |
( |
string |
line1 | ) |
|
|
inlineprotected |
Initializes a new instance of the MultilineTextAttribute class. Used in derived type using one line of text.
- Parameters
-
| line1 | The first line of text. |
| CommandLine.Text.MultilineTextAttribute.MultilineTextAttribute |
( |
string |
line1, |
|
|
string |
line2 |
|
) |
| |
|
inlineprotected |
Initializes a new instance of the MultilineTextAttribute class. Used in type using two lines of text.
- Parameters
-
| line1 | The first line of text. |
| line2 | The second line of text. |
| CommandLine.Text.MultilineTextAttribute.MultilineTextAttribute |
( |
string |
line1, |
|
|
string |
line2, |
|
|
string |
line3 |
|
) |
| |
|
inlineprotected |
Initializes a new instance of the MultilineTextAttribute class. Used in type using three lines of text.
- Parameters
-
| line1 | The first line of text. |
| line2 | The second line of text. |
| line3 | The third line of text. |
| CommandLine.Text.MultilineTextAttribute.MultilineTextAttribute |
( |
string |
line1, |
|
|
string |
line2, |
|
|
string |
line3, |
|
|
string |
line4 |
|
) |
| |
|
inlineprotected |
Initializes a new instance of the MultilineTextAttribute class. Used in type using four lines of text.
- Parameters
-
| line1 | The first line of text. |
| line2 | The second line of text. |
| line3 | The third line of text. |
| line4 | The fourth line of text. |
| CommandLine.Text.MultilineTextAttribute.MultilineTextAttribute |
( |
string |
line1, |
|
|
string |
line2, |
|
|
string |
line3, |
|
|
string |
line4, |
|
|
string |
line5 |
|
) |
| |
|
inlineprotected |
Initializes a new instance of the MultilineTextAttribute class. Used in type using five lines of text.
- Parameters
-
| line1 | The first line of text. |
| line2 | The second line of text. |
| line3 | The third line of text. |
| line4 | The fourth line of text. |
| line5 | The fifth line of text. |
| virtual int CommandLine.Text.MultilineTextAttribute.GetLastLineWithText |
( |
string[] |
value | ) |
|
|
inlineprotectedvirtual |
Returns the last line with text. Preserves blank lines if user intended by skipping a line.
- Returns
- The last index of line of the non-blank line.
- Parameters
-
| value | The string array to process. |
| string CommandLine.Text.MultilineTextAttribute.Line1 |
|
get |
Gets the first line of text.
| string CommandLine.Text.MultilineTextAttribute.Line2 |
|
get |
Gets the second line of text.
| string CommandLine.Text.MultilineTextAttribute.Line3 |
|
get |
| string CommandLine.Text.MultilineTextAttribute.Line4 |
|
get |
Gets the fourth line of text.
| string CommandLine.Text.MultilineTextAttribute.Line5 |
|
get |
Gets the fifth line of text.
| virtual string CommandLine.Text.MultilineTextAttribute.Value |
|
get |
Gets the all non-blank lines as string.
A string of all non-blank lines.
The documentation for this class was generated from the following file:
- src/CommandLine/Text/MultiLineTextAttribute.cs