C# Class Crisis.ColumnInfo

Represents a column to be used with StringFormatter.FormatInColumns.
Afficher le fichier Open project: teeknofil/Crisis-Wordlist-Generator

Méthodes publiques

Méthode Description
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 ==.

Method Details

ColumnInfo() public méthode

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.
Résultat System

ColumnInfo() public méthode

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.
Résultat System

ColumnInfo() public méthode

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
Résultat System

ColumnInfo() public méthode

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
Résultat System

Equals() public méthode

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
Résultat bool

GetHashCode() public méthode

Returns the hash code for this instance.
public GetHashCode ( ) : int
Résultat int

operator() public static méthode

Implements the operator ==.
public static operator ( ) : bool
Résultat bool