C# Class BF2Statistics.Web.ASP.ASPResponse

This object provides methods to help with ASP specific responses
Inheritance: HttpResponse
Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Свойство Type Description
Formatted FormattedOutput

Méthodes publiques

Méthode Description
ASPResponse ( HttpListenerResponse Response, HttpClient Client ) : System

Constructor

AddData ( FormattedOutput Data ) : void

Adds HeaderData to the current output

Send ( ) : void

Sends all output to the browser

WriteDataLine ( ) : void

Writes a Data line with the specified parameters

WriteDataLine ( List Params ) : void

Writes a data line with the items provided in the List

WriteFreeformLine ( string Message ) : void

Write's clean data to the stream

WriteHeaderDataPair ( object>.Dictionary Data ) : void

Adds HeaderData to the current output

WriteHeaderLine ( ) : void

Writes a Header line with the specified parameters

WriteHeaderLine ( List Headers ) : void

Writes a header line with the items provided in the List

WriteResponseStart ( ) : void

Opens the ASP response with the Valid Data opening tag ( "O" ) Calling this method will reset all current running data.

WriteResponseStart ( bool IsValid ) : void

Starts the ASP formatted response

Méthodes protégées

Méthode Description
WriteResponseEnd ( ) : void

Writes the closing ASP response tags

Method Details

ASPResponse() public méthode

Constructor
public ASPResponse ( HttpListenerResponse Response, HttpClient Client ) : System
Response System.Net.HttpListenerResponse
Client HttpClient
Résultat System

AddData() public méthode

Adds HeaderData to the current output
public AddData ( FormattedOutput Data ) : void
Data FormattedOutput
Résultat void

Send() public méthode

Sends all output to the browser
public Send ( ) : void
Résultat void

WriteDataLine() public méthode

Writes a Data line with the specified parameters
public WriteDataLine ( ) : void
Résultat void

WriteDataLine() public méthode

Writes a data line with the items provided in the List
public WriteDataLine ( List Params ) : void
Params List
Résultat void

WriteFreeformLine() public méthode

Write's clean data to the stream
public WriteFreeformLine ( string Message ) : void
Message string
Résultat void

WriteHeaderDataPair() public méthode

Adds HeaderData to the current output
public WriteHeaderDataPair ( object>.Dictionary Data ) : void
Data object>.Dictionary
Résultat void

WriteHeaderLine() public méthode

Writes a Header line with the specified parameters
public WriteHeaderLine ( ) : void
Résultat void

WriteHeaderLine() public méthode

Writes a header line with the items provided in the List
public WriteHeaderLine ( List Headers ) : void
Headers List
Résultat void

WriteResponseEnd() protected méthode

Writes the closing ASP response tags
protected WriteResponseEnd ( ) : void
Résultat void

WriteResponseStart() public méthode

Opens the ASP response with the Valid Data opening tag ( "O" ) Calling this method will reset all current running data.
public WriteResponseStart ( ) : void
Résultat void

WriteResponseStart() public méthode

Starts the ASP formatted response
public WriteResponseStart ( bool IsValid ) : void
IsValid bool /// Defines whether this response is valid data. If false, /// the opening tag will be an "E" rather then "O" /// Calling this method will reset all current running data. ///
Résultat void

Property Details

Formatted protected_oe property

Internal, Temporary Formatted Output class. We use this to easily transpose format
protected FormattedOutput,BF2Statistics.Web.ASP Formatted
Résultat FormattedOutput