FormatManager Class
Represents the class that maintains a registration of handlers for request and response formats
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Microsoft.Web.Mvc.Resources.FormatManager
Microsoft.Web.Mvc.Resources.DefaultFormatManager
| Name | Description | |
|---|---|---|
![]() | FormatManager() | Initializes a new instance of the FormatManager class. |
| Name | Description | |
|---|---|---|
![]() ![]() | Current | Gets or sets the current value for the format manager. |
![]() | FormatHelper | Gets or sets the base class for content negotiation support. |
![]() | RequestFormatHandlers | Gets the list of handlers that can parse the request body. |
![]() | ResponseFormatHandlers | Gets the list of handlers that can serialize the response body. |
| Name | Description | |
|---|---|---|
![]() | CanDeserialize(ContentType) | Returns true if the specified content type can be deserialized. |
![]() | CanSerialize(ContentType) | Returns true if the specified response format can be serialized. |
![]() | 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. |
![]() | 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. |
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() ![]() | UrlEncoded | Represents the URL encoded. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




