RequestContextExtensions Class

 

Represents the RequestContext extension methods that call directly into the registered FormatHelper.

Namespace:   Microsoft.Web.Mvc.Resources
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

System.Object
  Microsoft.Web.Mvc.Resources.RequestContextExtensions

[<AbstractClass>]
[<Sealed>]
type RequestContextExtensions = class end

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetRequestFormat(RequestContext)

Returns the format of a given request context.

System_CAPS_pubmethodSystem_CAPS_staticGetResponseFormats(RequestContext)

Returns the preferred content type to use for the response, based on the request.

System_CAPS_pubmethodSystem_CAPS_staticIsBrowserRequest(RequestContext)

Determines whether the specified HTTP request was sent by a Browser.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: