MediaTypeFormatterExtensions Methods

  Name Description
Public method Static member AddQueryStringMapping(MediaTypeFormatter, String, String, MediaTypeHeaderValue) Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with Uris containing a specific query parameter and value.
Public method Static member AddQueryStringMapping(MediaTypeFormatter, String, String, String) Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with Uris containing a specific query parameter and value.
Public method Static member AddRequestHeaderMapping(MediaTypeFormatter, String, String, StringComparison, Boolean, MediaTypeHeaderValue) Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with a specific HTTP request header field with a specific value.
Public method Static member AddRequestHeaderMapping(MediaTypeFormatter, String, String, StringComparison, Boolean, String) Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with a specific HTTP request header field with a specific value.
Public method Static member AddUriPathExtensionMapping(MediaTypeFormatter, String, MediaTypeHeaderValue) Updates the given formatter's set of MediaTypeMapping elements so that it associates the mediaType with Uris ending with the given uriPathExtension.
Public method Static member AddUriPathExtensionMapping(MediaTypeFormatter, String, String) Updates the given formatter's set of MediaTypeMapping elements so that it associates the mediaType with Uris ending with the given uriPathExtension.
Top
Show: