1 write to _context
Microsoft.AspNetCore.Owin (1)
22 references to _context
Microsoft.AspNetCore.Owin (22)
OwinEnvironment.cs (22)
51if (!_context.Items.ContainsKey(OwinConstants.CallCancelled))
53_context.Items[OwinConstants.CallCancelled] = CancellationToken.None;
59_context.Items[OwinConstants.OwinVersion] = "1.0";
62_context.Items[typeof(HttpContext).FullName] = _context; // Store for lookup when we transition back out of OWIN
79_context.Items.Add(key, value);
86.Where(pair => pair.Value.TryGet(_context, out _)).Select(pair => pair.Key)
87.Concat(_context.Items.Keys.Select(key => Convert.ToString(key, CultureInfo.InvariantCulture)))
96return _context.Items.Remove(key);
101if (_owinEntries.TryGetValue(key, out var entry) && entry.TryGet(_context, out value))
105return _context.Items.TryGetValue(key, out value);
119if (_owinEntries.TryGetValue(key, out entry) && entry.TryGet(_context, out value))
123if (_context.Items.TryGetValue(key, out value))
136entry.Set(_context, value);
143_context.Items[key] = value;
151_context.Items.Remove(key);
155_context.Items[key] = value;
169_context.Items.Clear();
181if (arrayIndex + _owinEntries.Count + _context.Items.Count > array.Length)
195get { return _owinEntries.Count + _context.Items.Count; }
214if (entryPair.Value.TryGet(_context, out value))
219foreach (var entryPair in _context.Items)