DefaultFormatManager Class
Represents the default implementation of Format manager.
Namespace: Microsoft.Web.Mvc.Resources
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.Resources.FormatManager
Microsoft.Web.Mvc.Resources.DefaultFormatManager
Syntax
public class DefaultFormatManager : FormatManager
public ref class DefaultFormatManager : FormatManager
type DefaultFormatManager =
class
inherit FormatManager
end
Public Class DefaultFormatManager
Inherits FormatManager
Constructors
Name | Description | |
---|---|---|
![]() |
DefaultFormatManager() | Initializes a new instance of the DefaultFormatManager class. |
Properties
Name | Description | |
---|---|---|
![]() |
FormatHelper | Gets or sets the base class for content negotiation support.(Inherited from FormatManager.) |
![]() |
RequestFormatHandlers | Gets the list of handlers that can parse the request body.(Inherited from FormatManager.) |
![]() |
ResponseFormatHandlers | Gets the list of handlers that can serialize the response body.(Inherited from FormatManager.) |
Methods
Name | Description | |
---|---|---|
![]() |
CanDeserialize(ContentType) | Returns true if the specified content type can be deserialized.(Inherited from FormatManager.) |
![]() |
CanSerialize(ContentType) | Returns true if the specified response format can be serialized.(Inherited from FormatManager.) |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
Serialize(ControllerContext, Object, ContentType) | Serialize the model into the response body in the specified response format.(Inherited from FormatManager.) |
![]() |
ToString() | (Inherited from Object.) |
![]() |
TryDeserialize(ControllerContext, ModelBindingContext, ContentType, Object) | Returns true if the specified controller context, binding context, request format and model object can be deserialized.(Inherited from FormatManager.) |
![]() |
TryMapFormatFriendlyName(String, ContentType) | Returns true if the specified format name ('xml' for instance) can be mapped to a content type ('application/xml' for instance). If the mapping can be performed return the content type that the friendlyName maps to.(Inherited from FormatManager.) |
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