FormatManager Class

 

Represents the class that maintains a registration of handlers for request and response formats

Namespace:   Microsoft.Web.Mvc.Resources
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)


type FormatManager = class end

NameDescription
System_CAPS_pubmethodFormatManager()

Initializes a new instance of the FormatManager class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticCurrent

Gets or sets the current value for the format manager.

System_CAPS_pubpropertyFormatHelper

Gets or sets the base class for content negotiation support.

System_CAPS_pubpropertyRequestFormatHandlers

Gets the list of handlers that can parse the request body.

System_CAPS_pubpropertyResponseFormatHandlers

Gets the list of handlers that can serialize the response body.

NameDescription
System_CAPS_pubmethodCanDeserialize(ContentType)

Returns true if the specified content type can be deserialized.

System_CAPS_pubmethodCanSerialize(ContentType)

Returns true if the specified response format can be serialized.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSerialize(ControllerContext, Object, ContentType)

Serialize the model into the response body in the specified response format.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryDeserialize(ControllerContext, ModelBindingContext, ContentType, Object)

Returns true if the specified controller context, binding context, request format and model object can be deserialized.

System_CAPS_pubmethodTryMapFormatFriendlyName(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.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticUrlEncoded

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.

Return to top
Show: