C# Class Snooze.Testing.FakeHttpResponse

Inheritance: System.Web.HttpResponseBase
Mostrar archivo Open project: nhsevidence/Snooze Class Usage Examples

Public Methods

Method Description
AddHeader ( string name, string value ) : void
AppendCookie ( System.Web.HttpCookie cookie ) : void
AppendHeader ( string name, string value ) : void
Clear ( ) : void
ClearContent ( ) : void
ClearHeaders ( ) : void
FakeHttpResponse ( ) : System
Flush ( ) : void
Redirect ( string url ) : void
Redirect ( string url, bool endResponse ) : void
RedirectPermanent ( string url ) : void
RedirectPermanent ( string url, bool endResponse ) : void
Write ( string s ) : void

Private Methods

Method Description
RedirectInternal ( string url, bool endResponse, bool permanent ) : void

Method Details

AddHeader() public method

public AddHeader ( string name, string value ) : void
name string
value string
return void

AppendCookie() public method

public AppendCookie ( System.Web.HttpCookie cookie ) : void
cookie System.Web.HttpCookie
return void

AppendHeader() public method

public AppendHeader ( string name, string value ) : void
name string
value string
return void

Clear() public method

public Clear ( ) : void
return void

ClearContent() public method

public ClearContent ( ) : void
return void

ClearHeaders() public method

public ClearHeaders ( ) : void
return void

FakeHttpResponse() public method

public FakeHttpResponse ( ) : System
return System

Flush() public method

public Flush ( ) : void
return void

Redirect() public method

public Redirect ( string url ) : void
url string
return void

Redirect() public method

public Redirect ( string url, bool endResponse ) : void
url string
endResponse bool
return void

RedirectPermanent() public method

public RedirectPermanent ( string url ) : void
url string
return void

RedirectPermanent() public method

public RedirectPermanent ( string url, bool endResponse ) : void
url string
endResponse bool
return void

Write() public method

public Write ( string s ) : void
s string
return void