C# Class UnitTests.Subtext.SimulatedRequestContext

When simulating a blog request, this class contains some useful context for the setup.
ファイルを表示 Open project: ayende/Subtext

Public Properties

Property Type Description
HostName string
ResponseStringBuilder StringBuilder
ResponseTextWriter System.IO.TextWriter
SimulatedRequest SimulatedHttpRequest

Public Methods

Method Description
SimulatedRequestContext ( SimulatedHttpRequest request, StringBuilder responseText, TextWriter responseWriter, string host ) : System

Method Details

SimulatedRequestContext() public method

public SimulatedRequestContext ( SimulatedHttpRequest request, StringBuilder responseText, TextWriter responseWriter, string host ) : System
request SimulatedHttpRequest
responseText StringBuilder
responseWriter System.IO.TextWriter
host string
return System

Property Details

HostName public_oe property

public string HostName
return string

ResponseStringBuilder public_oe property

public StringBuilder ResponseStringBuilder
return StringBuilder

ResponseTextWriter public_oe property

public TextWriter,System.IO ResponseTextWriter
return System.IO.TextWriter

SimulatedRequest public_oe property

public SimulatedHttpRequest,UnitTests.Subtext SimulatedRequest
return SimulatedHttpRequest