C# 클래스 Castle.MonoRail.Framework.Test.MockRequest

Represents a mock implementation of IRequest for unit test purposes.
상속: IRequest
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
BinaryRead ( int count ) : byte[]

Reads the request data as a byte array.

MockRequest ( IDictionary cookies ) : System

Initializes a new instance of the MockRequest class.

ReadCookie ( string name ) : string

Reads the cookie.

ValidateInput ( ) : void

Validates the input.

this ( string key ) : string

Gets the param with the specified key.

메소드 상세

BinaryRead() 공개 메소드

Reads the request data as a byte array.
public BinaryRead ( int count ) : byte[]
count int How many bytes.
리턴 byte[]

MockRequest() 공개 메소드

Initializes a new instance of the MockRequest class.
public MockRequest ( IDictionary cookies ) : System
cookies IDictionary The cookies.
리턴 System

ReadCookie() 공개 메소드

Reads the cookie.
public ReadCookie ( string name ) : string
name string The cookie name.
리턴 string

ValidateInput() 공개 메소드

Validates the input.
public ValidateInput ( ) : void
리턴 void

this() 공개 메소드

Gets the param with the specified key.
public this ( string key ) : string
key string
리턴 string