C# Class BF2Statistics.Web.ASP.FormattedOutput

The HeaderDataList class is used to properly format the official Gamespy ASP Header and Data output for Awards and player stats,
显示文件 Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Properties

Property Type Description
Transpose bool

Public Methods

Method Description
AddRow ( ) : void

Adds a new row to the list. If some values are missing, they will be zero filled.

AddRow ( List Row ) : void

Adds a new row to the list. If some values are missing, they will be zero filled.

FormattedOutput ( ) : System

Creates a new Instance of FormattedOutput

FormattedOutput ( List Headers ) : System

Creates a new Instance of FormattedOutput

ToString ( ) : string

Converts the Headers and Data into Gamespy ASP Format

Method Details

AddRow() public method

Adds a new row to the list. If some values are missing, they will be zero filled.
public AddRow ( ) : void
return void

AddRow() public method

Adds a new row to the list. If some values are missing, they will be zero filled.
public AddRow ( List Row ) : void
Row List
return void

FormattedOutput() public method

Creates a new Instance of FormattedOutput
public FormattedOutput ( ) : System
return System

FormattedOutput() public method

Creates a new Instance of FormattedOutput
public FormattedOutput ( List Headers ) : System
Headers List A List of Headers
return System

ToString() public method

Converts the Headers and Data into Gamespy ASP Format
public ToString ( ) : string
return string

Property Details

Transpose public_oe property

Gets or sets whether output will be tranposed (Output in an alternate, easy to read format)
public bool Transpose
return bool