1 write to MaxCachedValuesPerHeader
Microsoft.AspNetCore.HeaderParsing.Tests (1)
HeaderParsingOptionsTests.cs (1)
22
MaxCachedValuesPerHeader
= maxCachedValues
6 references to MaxCachedValuesPerHeader
Microsoft.AspNetCore.HeaderParsing (4)
HeaderParsingOptions.cs (1)
31
/// The number of cached values can be overridden for specific headers using the <see cref="
MaxCachedValuesPerHeader
" /> property.
HeaderParsingOptionsManualValidator.cs (2)
14
foreach (var item in options.
MaxCachedValuesPerHeader
)
20
nameof(options.
MaxCachedValuesPerHeader
));
HeaderRegistry.cs (1)
41
if (!_options.
MaxCachedValuesPerHeader
.TryGetValue(id.HeaderName, out maxCachedValues))
Microsoft.AspNetCore.HeaderParsing.Tests (2)
HeaderParsingExtensionsTests.cs (1)
44
.AddHeaderParsing(options => options.
MaxCachedValuesPerHeader
["Date"] = -1)
HeaderParsingOptionsTests.cs (1)
27
Assert.Equal(maxCachedValues, options.
MaxCachedValuesPerHeader
);