Partager via


DefaultContentNegotiator.MatchAcceptHeader Méthode

Définition

protected virtual System.Net.Http.Formatting.MediaTypeFormatterMatch MatchAcceptHeader (System.Collections.Generic.IEnumerable<System.Net.Http.Headers.MediaTypeWithQualityHeaderValue> sortedAcceptValues, System.Net.Http.Formatting.MediaTypeFormatter formatter);
abstract member MatchAcceptHeader : seq<System.Net.Http.Headers.MediaTypeWithQualityHeaderValue> * System.Net.Http.Formatting.MediaTypeFormatter -> System.Net.Http.Formatting.MediaTypeFormatterMatch
override this.MatchAcceptHeader : seq<System.Net.Http.Headers.MediaTypeWithQualityHeaderValue> * System.Net.Http.Formatting.MediaTypeFormatter -> System.Net.Http.Formatting.MediaTypeFormatterMatch
Protected Overridable Function MatchAcceptHeader (sortedAcceptValues As IEnumerable(Of MediaTypeWithQualityHeaderValue), formatter As MediaTypeFormatter) As MediaTypeFormatterMatch

Paramètres

formatter
System.Net.Http.Formatting.MediaTypeFormatter

Retours

S’applique à