C# Класс CommandLine.Text.MultilineTextAttribute

Provides base properties for creating an attribute, used to define multiple lines of text.
Наследование: System.Attribute
Показать файл Открыть проект

Защищенные методы

Метод Описание
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