1 write to _data
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TempDataDictionary.cs (1)
140
_data
= (providerDictionary != null)
25 references to _data
Microsoft.AspNetCore.Mvc.ViewFeatures (25)
TempDataDictionary.cs (25)
50
return
_data
.Count;
60
return
_data
.Keys;
70
return
_data
.Values;
80
return ((ICollection<KeyValuePair<string, object?>>)
_data
).IsReadOnly;
101
_data
[key] = value;
119
_retainedKeys.UnionWith(
_data
.Keys);
130
[MemberNotNull(nameof(_initialKeys), nameof(_retainedKeys), nameof(
_data
))]
143
_initialKeys = new HashSet<string>(
_data
.Keys, StringComparer.OrdinalIgnoreCase);
149
[MemberNotNull(nameof(_initialKeys), nameof(_retainedKeys), nameof(
_data
))]
152
Debug.Assert(_initialKeys is not null && _retainedKeys is not null &&
_data
is not null);
167
foreach (var entry in
_data
)
171
_data
.Remove(entry.Key);
175
_provider.SaveTempData(_context,
_data
);
182
_data
.TryGetValue(key, out var value);
190
_data
.Add(key, value);
198
_data
.Clear();
207
return
_data
.ContainsKey(key);
214
return
_data
.ContainsValue(value);
230
return
_data
.Remove(key);
239
return
_data
.TryGetValue(key, out value);
245
((ICollection<KeyValuePair<string, object?>>)
_data
).CopyTo(array, index);
252
((ICollection<KeyValuePair<string, object?>>)
_data
).Add(keyValuePair);
258
return ((ICollection<KeyValuePair<string, object?>>)
_data
).Contains(keyValuePair);
265
return ((ICollection<KeyValuePair<string, object?>>)
_data
).Remove(keyValuePair);
284
_enumerator = _tempData.
_data
.GetEnumerator();