1 write to DefaultValues
Microsoft.AspNetCore.HeaderParsing.Tests (1)
HeaderParsingOptionsTests.cs (1)
20
DefaultValues
= defValue,
7 references to DefaultValues
Microsoft.AspNetCore.HeaderParsing (1)
HeaderRegistry.cs (1)
48
if (_options.
DefaultValues
.TryGetValue(id.HeaderName, out var defValue))
Microsoft.AspNetCore.HeaderParsing.Tests (6)
HeaderParsingExtensionsTests.cs (2)
22
.AddHeaderParsing(options => options.
DefaultValues
.Add("Test", "9"))
27
Assert.True(options.
DefaultValues
.ContainsKey("Test"));
HeaderParsingFeatureTests.cs (1)
121
_options.Value.
DefaultValues
.Add("Date", date);
HeaderParsingOptionsTests.cs (1)
25
Assert.Equal(defValue, options.
DefaultValues
);
HeaderRegistryTests.cs (2)
42
_options.Value.
DefaultValues
.Add("Date", date);
57
_options.Value.
DefaultValues
.Add("Date", date);