IRequestFormatHandler Interface
Represents the extensibility mechanism for deserializing data in additional formats. FormatManager.Current.RequestFormatHandlers contains the list of request formats supported by the web application.
Namespace: Microsoft.Web.Mvc.Resources
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public interface IRequestFormatHandler
public interface class IRequestFormatHandler
type IRequestFormatHandler = interface end
Public Interface IRequestFormatHandler
Methods
Name | Description | |
---|---|---|
CanDeserialize(ContentType) | Returns true if the handler can deserialize request's content type. |
|
Deserialize(ControllerContext, ModelBindingContext, ContentType) | Deserialize the request body based on model binding context and return the object. Note that the URI parameters are handled by the base infrastructure. |
See Also
Microsoft.Web.Mvc.Resources Namespace
Return to top