C# 클래스 CommandLine.Text.MultilineTextAttribute

Provides base properties for creating an attribute, used to define multiple lines of text.
상속: System.Attribute
파일 보기 프로젝트 열기: cosmo0/commandline

보호된 메소드들

메소드 설명
GetLastLineWithText ( string value ) : int

Returns the last line with text. Preserves blank lines if user intended by skipping a line.

MultilineTextAttribute ( string line1 ) : System

Initializes a new instance of the MultilineTextAttribute class. Used in derived type using one line of text.

MultilineTextAttribute ( string line1, string line2 ) : System

Initializes a new instance of the MultilineTextAttribute class. Used in type using two lines of text.

MultilineTextAttribute ( string line1, string line2, string line3 ) : System

Initializes a new instance of the MultilineTextAttribute class. Used in type using three lines of text.

MultilineTextAttribute ( string line1, string line2, string line3, string line4 ) : System

Initializes a new instance of the MultilineTextAttribute class. Used in type using four lines of text.

MultilineTextAttribute ( string line1, string line2, string line3, string line4, string line5 ) : System

Initializes a new instance of the MultilineTextAttribute class. Used in type using five lines of text.

비공개 메소드들

메소드 설명
AddToHelpText ( HelpText helpText, HelpText>.Func func ) : HelpText
AddToHelpText ( HelpText helpText, bool before ) : HelpText

메소드 상세

GetLastLineWithText() 보호된 메소드

Returns the last line with text. Preserves blank lines if user intended by skipping a line.
protected GetLastLineWithText ( string value ) : int
value string The string array to process.
리턴 int

MultilineTextAttribute() 보호된 메소드

Initializes a new instance of the MultilineTextAttribute class. Used in derived type using one line of text.
protected MultilineTextAttribute ( string line1 ) : System
line1 string The first line of text.
리턴 System

MultilineTextAttribute() 보호된 메소드

Initializes a new instance of the MultilineTextAttribute class. Used in type using two lines of text.
protected MultilineTextAttribute ( string line1, string line2 ) : System
line1 string The first line of text.
line2 string The second line of text.
리턴 System

MultilineTextAttribute() 보호된 메소드

Initializes a new instance of the MultilineTextAttribute class. Used in type using three lines of text.
protected MultilineTextAttribute ( string line1, string line2, string line3 ) : System
line1 string The first line of text.
line2 string The second line of text.
line3 string The third line of text.
리턴 System

MultilineTextAttribute() 보호된 메소드

Initializes a new instance of the MultilineTextAttribute class. Used in type using four lines of text.
protected MultilineTextAttribute ( string line1, string line2, string line3, string line4 ) : System
line1 string The first line of text.
line2 string The second line of text.
line3 string The third line of text.
line4 string The fourth line of text.
리턴 System

MultilineTextAttribute() 보호된 메소드

Initializes a new instance of the MultilineTextAttribute class. Used in type using five lines of text.
protected MultilineTextAttribute ( string line1, string line2, string line3, string line4, string line5 ) : System
line1 string The first line of text.
line2 string The second line of text.
line3 string The third line of text.
line4 string The fourth line of text.
line5 string The fifth line of text.
리턴 System