8 references to TryParseList
Microsoft.AspNetCore.HeaderParsing (1)
Parsers\EntityTagHeaderValueListParser.cs (1)
17
if (!EntityTagHeaderValue.
TryParseList
(values, out var parsedValues))
Microsoft.AspNetCore.Http.Extensions (1)
HeaderDictionaryTypeExtensions.cs (1)
163
EntityTagHeaderValue.
TryParseList
(value, out var result) ? result : Array.Empty<EntityTagHeaderValue>();
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
444
&& EntityTagHeaderValue.
TryParseList
(ifNoneMatchHeader, out var ifNoneMatchEtags))
Microsoft.Net.Http.Headers.Tests (5)
EntityTagHeaderValueTest.cs (5)
262
Assert.False(EntityTagHeaderValue.
TryParseList
(null, out var results));
263
Assert.False(EntityTagHeaderValue.
TryParseList
(new string[0], out results));
264
Assert.False(EntityTagHeaderValue.
TryParseList
(new string[] { "" }, out results));
348
Assert.True(EntityTagHeaderValue.
TryParseList
(inputs, out var results));
460
Assert.True(EntityTagHeaderValue.
TryParseList
(inputs, out var results));