C# Класс BF2Statistics.Web.ASP.ASPResponse

This object provides methods to help with ASP specific responses
Наследование: HttpResponse
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
Formatted FormattedOutput

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

Метод Описание
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

Защищенные методы

Метод Описание
WriteResponseEnd ( ) : void

Writes the closing ASP response tags

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

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

Constructor
public ASPResponse ( HttpListenerResponse Response, HttpClient Client ) : System
Response System.Net.HttpListenerResponse
Client HttpClient
Результат System

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

Adds HeaderData to the current output
public AddData ( FormattedOutput Data ) : void
Data FormattedOutput
Результат void

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

Sends all output to the browser
public Send ( ) : void
Результат void

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

Writes a Data line with the specified parameters
public WriteDataLine ( ) : void
Результат void

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

Writes a data line with the items provided in the List
public WriteDataLine ( List Params ) : void
Params List
Результат void

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

Write's clean data to the stream
public WriteFreeformLine ( string Message ) : void
Message string
Результат void

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

Adds HeaderData to the current output
public WriteHeaderDataPair ( object>.Dictionary Data ) : void
Data object>.Dictionary
Результат void

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

Writes a Header line with the specified parameters
public WriteHeaderLine ( ) : void
Результат void

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

Writes a header line with the items provided in the List
public WriteHeaderLine ( List Headers ) : void
Headers List
Результат void

WriteResponseEnd() защищенный Метод

Writes the closing ASP response tags
protected WriteResponseEnd ( ) : void
Результат void

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

Opens the ASP response with the Valid Data opening tag ( "O" ) Calling this method will reset all current running data.
public WriteResponseStart ( ) : void
Результат void

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

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. ///
Результат void

Описание свойств

Formatted защищенное свойство

Internal, Temporary Formatted Output class. We use this to easily transpose format
protected FormattedOutput,BF2Statistics.Web.ASP Formatted
Результат FormattedOutput