RequestContextExtensions Class
Represents the RequestContext extension methods that call directly into the registered FormatHelper.
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetRequestFormat(RequestContext) | Returns the format of a given request context. |
![]() ![]() | GetResponseFormats(RequestContext) | Returns the preferred content type to use for the response, based on the request. |
![]() ![]() | IsBrowserRequest(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.
Show:

