1 instantiation of StringWithQualityHeaderValueComparer
Microsoft.Net.Http.Headers (1)
StringWithQualityHeaderValueComparer.cs (1)
26public static StringWithQualityHeaderValueComparer QualityComparer { get; } = new StringWithQualityHeaderValueComparer();
5 references to StringWithQualityHeaderValueComparer
Microsoft.AspNetCore.Localization (1)
AcceptLanguageHeaderRequestCultureProvider.cs (1)
43var orderedLanguages = languages.OrderByDescending(h => h, StringWithQualityHeaderValueComparer.QualityComparer)
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\TextOutputFormatter.cs (1)
253var position = sorted.BinarySearch(value, StringWithQualityHeaderValueComparer.QualityComparer);
Microsoft.Net.Http.Headers (2)
StringWithQualityHeaderValueComparer.cs (2)
24/// Gets the default instance of <see cref="StringWithQualityHeaderValueComparer"/>. 26public static StringWithQualityHeaderValueComparer QualityComparer { get; } = new StringWithQualityHeaderValueComparer();
Microsoft.Net.Http.Headers.Tests (1)
StringWithQualityHeaderValueComparerTest.cs (1)
55var actualSorted = unsortedValues.OrderByDescending(k => k, StringWithQualityHeaderValueComparer.QualityComparer).ToList();