C# Класс Crisis.ColumnInfo

Represents a column to be used with StringFormatter.FormatInColumns.
Показать файл Открыть проект

Открытые методы

Метод Описание
ColumnInfo ( int width, string content ) : System

Initializes a new instance of the ColumnInfo struct.

The word wrapping method used will be the one described by Crisis.WordWrappingMethod.Optimal, and each line in this column will be left aligned.

ColumnInfo ( int width, string content, Alignment alignment ) : System

Initializes a new instance of the ColumnInfo struct.

The word wrapping method used will be the one described by Crisis.WordWrappingMethod.Optimal.

ColumnInfo ( int width, string content, Alignment alignment, VerticalAlignment verticalAlignment ) : System

Initializes a new instance of the ColumnInfo struct.

ColumnInfo ( int width, string content, Alignment alignment, VerticalAlignment verticalAlignment, WordWrappingMethod method ) : System

Initializes a new instance of the ColumnInfo struct.

Equals ( object obj ) : bool

Indicates whether this instance and a specified object are equal.

GetHashCode ( ) : int

Returns the hash code for this instance.

operator ( ) : bool

Implements the operator ==.

Описание методов

ColumnInfo() публичный Метод

Initializes a new instance of the ColumnInfo struct.
The word wrapping method used will be the one described by Crisis.WordWrappingMethod.Optimal, and each line in this column will be left aligned.
public ColumnInfo ( int width, string content ) : System
width int The width of the column in (fixed-width) characters.
content string The content of this column.
Результат System

ColumnInfo() публичный Метод

Initializes a new instance of the ColumnInfo struct.
The word wrapping method used will be the one described by Crisis.WordWrappingMethod.Optimal.
public ColumnInfo ( int width, string content, Alignment alignment ) : System
width int The width of the column in (fixed-width) characters.
content string The content of this column.
alignment Alignment The alignment to use for this column.
Результат System

ColumnInfo() публичный Метод

Initializes a new instance of the ColumnInfo struct.
public ColumnInfo ( int width, string content, Alignment alignment, VerticalAlignment verticalAlignment ) : System
width int The width of the column in (fixed-width) characters.
content string The content of this column.
alignment Alignment The alignment to use for this column.
verticalAlignment VerticalAlignment The vertical alignment to use for this column
Результат System

ColumnInfo() публичный Метод

Initializes a new instance of the ColumnInfo struct.
public ColumnInfo ( int width, string content, Alignment alignment, VerticalAlignment verticalAlignment, WordWrappingMethod method ) : System
width int The width of the column in (fixed-width) characters.
content string The content of this column.
alignment Alignment The alignment to use for this column.
verticalAlignment VerticalAlignment The vertical alignment to use for this column
method WordWrappingMethod The word wrapping method to use for this column
Результат System

Equals() публичный Метод

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
Результат bool

GetHashCode() публичный Метод

Returns the hash code for this instance.
public GetHashCode ( ) : int
Результат int

operator() публичный статический Метод

Implements the operator ==.
public static operator ( ) : bool
Результат bool