Compartilhar via


DefaultContentNegotiator.MatchAcceptHeader Método

Definição

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

Parâmetros

formatter
System.Net.Http.Formatting.MediaTypeFormatter

Retornos

Aplica-se a