Partager via


DefaultContentNegotiator.ComputeFormatterMatches Méthode

Définition

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)

Paramètres

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

Retours

S’applique à