FormatHelper Class
Base class for content negotiation support
Namespace: Microsoft.Web.Mvc.Resources
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.Resources.FormatHelper
Microsoft.Web.Mvc.Resources.DefaultFormatHelper
Syntax
public abstract class FormatHelper
public ref class FormatHelper abstract
[<AbstractClass>]
type FormatHelper = class end
Public MustInherit Class FormatHelper
Constructors
Name | Description | |
---|---|---|
FormatHelper() | Initializes a new instance of the FormatHelper class. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetRequestFormat(RequestContext) | Returns the ContentType of a given request. |
|
GetResponseFormats(RequestContext) | Returns a collection of ContentType instances that can be used to render a response to a given request, sorted in priority order. |
|
GetType() | (Inherited from Object.) |
|
IsBrowserRequest(RequestContext) | Determines whether the specified HTTP request was sent by a Browser. |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Web.Mvc.Resources Namespace
Return to top