C# Class N2.Tests.Fakes.FakeHttpRequest

Inheritance: System.Web.HttpRequestBase
Mostra file Open project: n2cms/n2cms Class Usage Examples

Public Properties

Property Type Description
appRelativeCurrentExecutionFilePath string
contentLength int
httpMethod string
input string
pathInfo string
query System.Collections.Specialized.NameValueCollection
rawUrl string
serverVariables System.Collections.Specialized.NameValueCollection

Public Methods

Method Description
CreatePost ( Url url, string contentType, string input, NameValueCollection queries = null, string pathInfo = null ) : void
MapPath ( string virtualPath ) : string
SetQuery ( string queryString ) : void
ValidateInput ( ) : void
this ( string key ) : string

Method Details

CreatePost() public method

public CreatePost ( Url url, string contentType, string input, NameValueCollection queries = null, string pathInfo = null ) : void
url Url
contentType string
input string
queries System.Collections.Specialized.NameValueCollection
pathInfo string
return void

MapPath() public method

public MapPath ( string virtualPath ) : string
virtualPath string
return string

SetQuery() public method

public SetQuery ( string queryString ) : void
queryString string
return void

ValidateInput() public method

public ValidateInput ( ) : void
return void

this() public method

public this ( string key ) : string
key string
return string

Property Details

appRelativeCurrentExecutionFilePath public_oe property

public string appRelativeCurrentExecutionFilePath
return string

contentLength public_oe property

public int contentLength
return int

httpMethod public_oe property

public string httpMethod
return string

input public_oe property

public string input
return string

pathInfo public_oe property

public string pathInfo
return string

query public_oe property

public NameValueCollection,System.Collections.Specialized query
return System.Collections.Specialized.NameValueCollection

rawUrl public_oe property

public string rawUrl
return string

serverVariables public_oe property

public NameValueCollection,System.Collections.Specialized serverVariables
return System.Collections.Specialized.NameValueCollection