2 writes to Store
Microsoft.AspNetCore.Http (2)
HeaderDictionary.cs (2)
39
Store
= store;
58
Store
= new Dictionary<string, StringValues>(capacity, StringComparer.OrdinalIgnoreCase);
37 references to Store
Microsoft.AspNetCore.Http (37)
HeaderDictionary.cs (37)
53
[MemberNotNull(nameof(
Store
))]
56
if (
Store
== null)
71
if (
Store
== null)
90
Store
?.Remove(key);
95
Store
[key] = value;
104
if (
Store
== null)
109
return
Store
[key];
152
public int Count =>
Store
?.Count ?? 0;
167
if (
Store
== null)
171
return
Store
.Keys;
182
if (
Store
== null)
186
return
Store
.Values;
202
Store
.Add(item.Key, item.Value);
215
Store
.Add(key, value);
224
Store
?.Clear();
234
if (
Store
== null ||
235
!
Store
.TryGetValue(item.Key, out var value) ||
250
if (
Store
== null)
254
return
Store
.ContainsKey(key);
264
if (
Store
== null)
269
foreach (var item in
Store
)
284
if (
Store
== null)
289
if (
Store
.TryGetValue(item.Key, out var value) && StringValues.Equals(item.Value, value))
291
return
Store
.Remove(item.Key);
304
if (
Store
== null)
308
return
Store
.Remove(key);
319
if (
Store
== null)
324
return
Store
.TryGetValue(key, out value);
333
if (
Store
== null ||
Store
.Count == 0)
338
return new Enumerator(
Store
.GetEnumerator());
347
if (
Store
== null ||
Store
.Count == 0)
352
return
Store
.GetEnumerator();
361
if (
Store
== null ||
Store
.Count == 0)
366
return
Store
.GetEnumerator();