CommandLine
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Protected Member Functions | Properties | List of all members
CommandLine.Text.MultilineTextAttribute Class Reference

Provides base properties for creating an attribute, used to define multiple lines of text. More...

Inheritance diagram for CommandLine.Text.MultilineTextAttribute:
CommandLine.Text.AssemblyLicenseAttribute CommandLine.Text.AssemblyUsageAttribute

Protected Member Functions

 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...
 

Properties

virtual string Value [get]
 Gets the all non-blank lines as string. More...
 
string Line1 [get]
 Gets the first line of text. More...
 
string Line2 [get]
 Gets the second line of text. More...
 
string Line3 [get]
 Gets third line of text. More...
 
string Line4 [get]
 Gets the fourth line of text. More...
 
string Line5 [get]
 Gets the fifth line of text. More...
 

Detailed Description

Provides base properties for creating an attribute, used to define multiple lines of text.

Constructor & Destructor Documentation

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
line1The 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
line1The first line of text.
line2The 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
line1The first line of text.
line2The second line of text.
line3The 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
line1The first line of text.
line2The second line of text.
line3The third line of text.
line4The 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
line1The first line of text.
line2The second line of text.
line3The third line of text.
line4The fourth line of text.
line5The fifth line of text.

Member Function Documentation

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
valueThe string array to process.

Property Documentation

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

Gets third line of text.

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: