C# 클래스 BF2Statistics.Web.ASP.ASPResponse

This object provides methods to help with ASP specific responses
상속: HttpResponse
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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