Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
HttpSimulator ( ) : System | ||
HttpSimulator ( string applicationPath ) : System | ||
HttpSimulator ( string applicationPath, string physicalApplicationPath ) : System | ||
SetFormVariable ( string name, string value ) : |
Sets a form variable.
|
|
SetHeader ( string name, string value ) : |
Sets a header value.
|
|
SetReferer ( |
Sets the referer for the request. Uses a fluent interface.
|
|
SimulateRequest ( ) : |
Sets up the HttpContext objects to simulate a GET request. Simulates a request to http://localhost/ |
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a GET request.
|
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a request.
|
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a request.
|
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a POST request.
|
|
SimulateRequest ( |
Sets up the HttpContext objects to simulate a POST request.
|
Méthode | Description | |
---|---|---|
GetHostingEnvironment ( ) : |
||
NormalizeSlashes ( string s ) : string | ||
SimulateRequest ( |
Sets up the HttpContext objects to simulate a request.
|
|
StripPrecedingSlashes ( string s ) : string | ||
StripTrailingBackSlashes ( string s ) : string | ||
StripTrailingSlashes ( string s ) : string |
Méthode | Description | |
---|---|---|
ExtractQueryStringPart ( |
||
InitializeApplication ( ) : void | ||
InitializeSession ( ) : void | ||
ParseRequestUrl ( |
||
RightAfter ( string original, string search ) : string | ||
SetHttpRuntimeInternals ( ) : void |
protected static GetHostingEnvironment ( ) : |
||
Résultat |
public HttpSimulator ( string applicationPath ) : System | ||
applicationPath | string | |
Résultat | System |
public HttpSimulator ( string applicationPath, string physicalApplicationPath ) : System | ||
applicationPath | string | |
physicalApplicationPath | string | |
Résultat | System |
protected static NormalizeSlashes ( string s ) : string | ||
s | string | |
Résultat | string |
public SetFormVariable ( string name, string value ) : |
||
name | string | |
value | string | |
Résultat |
public SetHeader ( string name, string value ) : |
||
name | string | |
value | string | |
Résultat |
public SetReferer ( |
||
referer | ||
Résultat |
public SimulateRequest ( |
||
url | ||
Résultat |
public SimulateRequest ( |
||
url | ||
httpVerb | HttpVerb | |
Résultat |
public SimulateRequest ( |
||
url | ||
httpVerb | HttpVerb | |
headers | ||
Résultat |
protected SimulateRequest ( |
||
url | ||
httpVerb | HttpVerb | |
formVariables | ||
headers | ||
Résultat |
public SimulateRequest ( |
||
url | ||
formVariables | ||
Résultat |
public SimulateRequest ( |
||
url | ||
formVariables | ||
headers | ||
Résultat |
protected static StripPrecedingSlashes ( string s ) : string | ||
s | string | |
Résultat | string |
protected static StripTrailingBackSlashes ( string s ) : string | ||
s | string | |
Résultat | string |
protected static StripTrailingSlashes ( string s ) : string | ||
s | string | |
Résultat | string |