C# Class SenseNet.ContentRepository.Tests.SimulatedHttpRequest

Used to simulate an HttpRequest.
Inheritance: System.Web.Hosting.SimpleWorkerRequest
Mostra file Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
GetServerName ( ) : string

Gets the name of the server.

MapPath ( string virtualPath ) : string

Maps the path to a filesystem path.

SimulatedHttpRequest ( string appVirtualDir, string appPhysicalDir, string page, string query, TextWriter output, string host ) : System

Creates a new SimulatedHttpRequest instance.

Method Details

GetServerName() public method

Gets the name of the server.
public GetServerName ( ) : string
return string

MapPath() public method

Maps the path to a filesystem path.
public MapPath ( string virtualPath ) : string
virtualPath string Virtual path.
return string

SimulatedHttpRequest() public method

Creates a new SimulatedHttpRequest instance.
public SimulatedHttpRequest ( string appVirtualDir, string appPhysicalDir, string page, string query, TextWriter output, string host ) : System
appVirtualDir string App virtual dir.
appPhysicalDir string App physical dir.
page string Page.
query string Query.
output System.IO.TextWriter Output.
host string Host.
return System