Share via


MediaTypeFormatterExtensions Class

 

Represents extensions for adding MediaTypeMapping items to a MediaTypeFormatter.

Namespace:   System.Net.Http.Formatting
Assemblies:   System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.Formatting.MediaTypeFormatterExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class MediaTypeFormatterExtensions
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class MediaTypeFormatterExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type MediaTypeFormatterExtensions = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class MediaTypeFormatterExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static AddQueryStringMapping(MediaTypeFormatter, String, String, MediaTypeHeaderValue)

System_CAPS_pubmethodSystem_CAPS_static AddQueryStringMapping(MediaTypeFormatter, String, String, String)

System_CAPS_pubmethodSystem_CAPS_static AddRequestHeaderMapping(MediaTypeFormatter, String, String, StringComparison, Boolean, MediaTypeHeaderValue)

System_CAPS_pubmethodSystem_CAPS_static AddRequestHeaderMapping(MediaTypeFormatter, String, String, StringComparison, Boolean, String)

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

System.Net.Http.Formatting Namespace

Return to top