8 references to TryParseList
Microsoft.AspNetCore.HeaderParsing (1)
Parsers\EntityTagHeaderValueListParser.cs (1)
17if (!EntityTagHeaderValue.TryParseList(values, out var parsedValues))
Microsoft.AspNetCore.Http.Extensions (1)
HeaderDictionaryTypeExtensions.cs (1)
163EntityTagHeaderValue.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)
262Assert.False(EntityTagHeaderValue.TryParseList(null, out var results)); 263Assert.False(EntityTagHeaderValue.TryParseList(new string[0], out results)); 264Assert.False(EntityTagHeaderValue.TryParseList(new string[] { "" }, out results)); 348Assert.True(EntityTagHeaderValue.TryParseList(inputs, out var results)); 460Assert.True(EntityTagHeaderValue.TryParseList(inputs, out var results));