Share via


DefaultContentNegotiator.ComputeFormatterMatches Method

Definition

protected virtual System.Collections.ObjectModel.Collection<System.Net.Http.Formatting.MediaTypeFormatterMatch> ComputeFormatterMatches (Type type, System.Net.Http.HttpRequestMessage request, System.Collections.Generic.IEnumerable<System.Net.Http.Formatting.MediaTypeFormatter> formatters);
abstract member ComputeFormatterMatches : Type * System.Net.Http.HttpRequestMessage * seq<System.Net.Http.Formatting.MediaTypeFormatter> -> System.Collections.ObjectModel.Collection<System.Net.Http.Formatting.MediaTypeFormatterMatch>
override this.ComputeFormatterMatches : Type * System.Net.Http.HttpRequestMessage * seq<System.Net.Http.Formatting.MediaTypeFormatter> -> System.Collections.ObjectModel.Collection<System.Net.Http.Formatting.MediaTypeFormatterMatch>
Protected Overridable Function ComputeFormatterMatches (type As Type, request As HttpRequestMessage, formatters As IEnumerable(Of MediaTypeFormatter)) As Collection(Of MediaTypeFormatterMatch)

Parameters

type
Type
formatters
IEnumerable<System.Net.Http.Formatting.MediaTypeFormatter>

Returns

Applies to