9 references to TryParseList
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
ContentEncodingNegotiator.cs (1)
48if (!StringWithQualityHeaderValue.TryParseList(accept, out var encodings) || encodings.Count == 0)
Microsoft.AspNetCore.HeaderParsing (1)
Parsers\StringWithQualityHeaderValueListParser.cs (1)
17if (!StringWithQualityHeaderValue.TryParseList(values, out var parsedValues))
Microsoft.AspNetCore.Http.Extensions (1)
HeaderDictionaryTypeExtensions.cs (1)
157StringWithQualityHeaderValue.TryParseList(value, out var result) ? result : Array.Empty<StringWithQualityHeaderValue>();
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\TextOutputFormatter.cs (1)
173if (StringWithQualityHeaderValue.TryParseList(request.Headers.AcceptCharset, out var result))
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
88if (!StringWithQualityHeaderValue.TryParseList(accept, out var encodings) || encodings.Count == 0)
Microsoft.AspNetCore.Routing (2)
Matching\NegotiationMatcherPolicy.cs (2)
86!StringWithQualityHeaderValue.TryParseList(header, out var values) || values.Count == 0) 404!StringWithQualityHeaderValue.TryParseList(header, out var values) || values.Count == 0)
Microsoft.Net.Http.Headers.Tests (2)
StringWithQualityHeaderValueTest.cs (2)
291Assert.True(StringWithQualityHeaderValue.TryParseList(inputs, out var results)); 424Assert.True(StringWithQualityHeaderValue.TryParseList(inputs, out var results));