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)
23if (_accumulator == null) 29if (_accumulator.TryGetValue(key, out values)) 39_accumulator[key] = new string[] { values[0]!, value }; 45_accumulator[key] = default(StringValues); 66_accumulator[key] = new StringValues(value); 82public int KeyCount => _accumulator?.Count ?? 0; 101_accumulator[entry.Key] = new StringValues(entry.Value.ToArray()); 105return _accumulator ?? new Dictionary<string, StringValues>(0, StringComparer.OrdinalIgnoreCase);