DefaultContentNegotiator.ComputeFormatterMatches Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- request
- HttpRequestMessage
- formatters
- IEnumerable<System.Net.Http.Formatting.MediaTypeFormatter>