C# Class N2.Tests.Fakes.FakeHttpContext

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

Public Properties

Property Type Description
items Hashtable
request FakeHttpRequest
response N2.Tests.Fakes.FakeHttpResponse
server N2.Tests.Fakes.FakeHttpServerUtility
session N2.Tests.Fakes.FakeHttpSessionState

Public Methods

Method Description
FakeHttpContext ( ) : System.Web
FakeHttpContext ( N2.Web.Url url ) : System.Web
RewritePath ( string path ) : void
RewritePath ( string path, bool rebaseClientPath ) : void
RewritePath ( string filePath, string pathInfo, string queryString ) : void

Method Details

FakeHttpContext() public method

public FakeHttpContext ( ) : System.Web
return System.Web

FakeHttpContext() public method

public FakeHttpContext ( N2.Web.Url url ) : System.Web
url N2.Web.Url
return System.Web

RewritePath() public method

public RewritePath ( string path ) : void
path string
return void

RewritePath() public method

public RewritePath ( string path, bool rebaseClientPath ) : void
path string
rebaseClientPath bool
return void

RewritePath() public method

public RewritePath ( string filePath, string pathInfo, string queryString ) : void
filePath string
pathInfo string
queryString string
return void

Property Details

items public_oe property

public Hashtable items
return Hashtable

request public_oe property

public FakeHttpRequest,N2.Tests.Fakes request
return FakeHttpRequest

response public_oe property

public FakeHttpResponse,N2.Tests.Fakes response
return N2.Tests.Fakes.FakeHttpResponse

server public_oe property

public FakeHttpServerUtility,N2.Tests.Fakes server
return N2.Tests.Fakes.FakeHttpServerUtility

session public_oe property

public FakeHttpSessionState,N2.Tests.Fakes session
return N2.Tests.Fakes.FakeHttpSessionState