C# 클래스 Crisis.ColumnInfo

Represents a column to be used with StringFormatter.FormatInColumns.
파일 보기 프로젝트 열기: teeknofil/Crisis-Wordlist-Generator

공개 메소드들

메소드 설명
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