1 write to _accumulator
Microsoft.AspNetCore.WebUtilities (1)
KeyValueAccumulator.cs (1)
25
_accumulator
= new Dictionary<string, StringValues>(StringComparer.OrdinalIgnoreCase);
8 references to _accumulator
Microsoft.AspNetCore.WebUtilities (8)
KeyValueAccumulator.cs (8)
23
if (
_accumulator
== null)
29
if (
_accumulator
.TryGetValue(key, out values))
39
_accumulator
[key] = new string[] { values[0]!, value };
45
_accumulator
[key] = default(StringValues);
66
_accumulator
[key] = new StringValues(value);
82
public int KeyCount =>
_accumulator
?.Count ?? 0;
101
_accumulator
[entry.Key] = new StringValues(entry.Value.ToArray());
105
return
_accumulator
?? new Dictionary<string, StringValues>(0, StringComparer.OrdinalIgnoreCase);