Method | Description | |
---|---|---|
CreateHttpContext ( string url ) : System.Web.HttpContextBase | ||
CreateHttpContext ( string url, string physicalPath ) : System.Web.HttpContextBase | ||
CreateHttpRequest ( ) : System.Web.HttpRequestBase |
Creates a new fake HTTP request with its
|
|
CreateHttpRequest ( string url, string physicalPath ) : System.Web.HttpRequestBase |
Creates a new fake HTTP request with its
|
|
CreateMockController ( ) : |
||
CreateRequestContext ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RequestContext |
Creates a new request context.
|
|
CreateRequestContext ( System.Web.HttpContextBase httpContext, System.Web.Routing.RouteData routeData ) : System.Web.Routing.RequestContext |
Creates a new request context.
|
|
CreateRequestContext ( string url ) : System.Web.Routing.RequestContext |
Creates a new request context, using the specified request url.
|
|
CreateRequestContext ( string category, string locale ) : System.Web.Routing.RequestContext |
Creates a new request context, using the specified category and locale.
|
|
CreateSageContext ( string url ) : SageContext |
Creates a new fake SageContext instance using the specified url.
|
|
CreateSageContext ( string url, string>.Func |
Creates a new fake SageContext instance.
|
|
CreateSageContext ( string category, string locale ) : SageContext |
Creates a Sage context using the specified category and locale.
|
|
CreateSageContext ( string category, string locale, System.Web.QueryString query ) : SageContext |
Creates a Sage context using the specified category, locale and query.
|
|
CreateSageContext ( string category, string locale, string query ) : SageContext |
Creates a Sage context using the specified category, locale and query.
|
|
CreateUri ( string url ) : |
||
SetHttpMethodResult ( this request, string httpMethod ) : void |
Sets the HttpRequest.HttpMethod value to the specified string.
|
|
SetupRequestUrl ( this request, string url ) : void |
Sets the various URL-related properties of the to parts of the specified URL.
|
Method | Description | |
---|---|---|
GetQueryStringParameters ( string url ) : |
Given a URL, returns the just the query string part.
|
|
GetUrlFileName ( string url ) : string |
Given a URL, returns the name without the query string part.
|
|
MapPath ( string path ) : string |
public static CreateHttpContext ( string url ) : System.Web.HttpContextBase | ||
url | string | |
return | System.Web.HttpContextBase |
public static CreateHttpContext ( string url, string physicalPath ) : System.Web.HttpContextBase | ||
url | string | |
physicalPath | string | |
return | System.Web.HttpContextBase |
public static CreateHttpRequest ( ) : System.Web.HttpRequestBase | ||
return | System.Web.HttpRequestBase |
public static CreateHttpRequest ( string url, string physicalPath ) : System.Web.HttpRequestBase | ||
url | string | The URL. |
physicalPath | string | The physical path. |
return | System.Web.HttpRequestBase |
public static CreateMockController ( ) : |
||
return |
public static CreateRequestContext ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RequestContext | ||
httpContext | System.Web.HttpContextBase | The HTTP context to use with the resulting context. |
return | System.Web.Routing.RequestContext |
public static CreateRequestContext ( System.Web.HttpContextBase httpContext, System.Web.Routing.RouteData routeData ) : System.Web.Routing.RequestContext | ||
httpContext | System.Web.HttpContextBase | The HTTP context to use with the resulting context. |
routeData | System.Web.Routing.RouteData | The route data to use with the resulting context. |
return | System.Web.Routing.RequestContext |
public static CreateRequestContext ( string url ) : System.Web.Routing.RequestContext | ||
url | string | The URL. |
return | System.Web.Routing.RequestContext |
public static CreateRequestContext ( string category, string locale ) : System.Web.Routing.RequestContext | ||
category | string | The category for which to create the fake context. |
locale | string | The locale for which to create the fake context. |
return | System.Web.Routing.RequestContext |
public static CreateSageContext ( string url ) : SageContext | ||
url | string | The URL to use when creating the new context. |
return | SageContext |
public static CreateSageContext ( string url, string>.Func |
||
url | string | The URL to use within the created context. |
pathMapper | string>.Func | The function to use for resolving relative paths. |
return | SageContext |
public static CreateSageContext ( string category, string locale ) : SageContext | ||
category | string | The category to set on the context being created. |
locale | string | The locale to set on the context being created. |
return | SageContext |
public static CreateSageContext ( string category, string locale, System.Web.QueryString query ) : SageContext | ||
category | string | The category to set on the context being created. |
locale | string | The locale to set on the context being created. |
query | System.Web.QueryString | The query string of the fake request to create. |
return | SageContext |
public static CreateSageContext ( string category, string locale, string query ) : SageContext | ||
category | string | The category to set on the context being created. |
locale | string | The locale to set on the context being created. |
query | string | The query string of the fake request to create. |
return | SageContext |
public static CreateUri ( string url ) : |
||
url | string | |
return |
public static SetHttpMethodResult ( this request, string httpMethod ) : void | ||
request | this | The request to modify. |
httpMethod | string | The HTTP method to set. |
return | void |
public static SetupRequestUrl ( this request, string url ) : void | ||
request | this | The request to modify. |
url | string | The URL to set. |
return | void |