DefaultContentNegotiator.SelectResponseMediaTypeFormatter Method (ICollection<MediaTypeFormatterMatch>)

 

Select the best match among the candidate matches found.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

protected virtual MediaTypeFormatterMatch SelectResponseMediaTypeFormatter(
	ICollection<MediaTypeFormatterMatch> matches
)

Parameters

matches
Type: System.Collections.Generic.ICollection<MediaTypeFormatterMatch>

The collection of matches.

Return Value

Type: System.Net.Http.Formatting.MediaTypeFormatterMatch

Returns the MediaTypeFormatterMatch object that represents the best match.

Return to top
Show: