1 write to _context
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
49_context = context;
22 references to _context
Microsoft.AspNetCore.Owin (22)
OwinEnvironment.cs (22)
108else if (!_context.Items.ContainsKey(OwinConstants.CallCancelled)) 110_context.Items[OwinConstants.CallCancelled] = CancellationToken.None; 116_context.Items[OwinConstants.OwinVersion] = "1.0"; 132_context.Items[typeof(HttpContext).FullName] = _context; // Store for lookup when we transition back out of OWIN 150_context.Items.Add(key, value); 162return _entries.Where(pair => pair.Value.TryGet(_context, out _)) 163.Select(pair => pair.Key).Concat(_context.Items.Keys.Select(key => Convert.ToString(key, CultureInfo.InvariantCulture))).ToList(); 173return _context.Items.Remove(key); 179if (_entries.TryGetValue(key, out entry) && entry.TryGet(_context, out value)) 183return _context.Items.TryGetValue(key, out value); 197if (_entries.TryGetValue(key, out entry) && entry.TryGet(_context, out value)) 201if (_context.Items.TryGetValue(key, out value)) 214entry.Set(_context, value); 221_context.Items[key] = value; 229_context.Items.Remove(key); 233_context.Items[key] = value; 247_context.Items.Clear(); 259if (arrayIndex + _entries.Count + _context.Items.Count > array.Length) 273get { return _entries.Count + _context.Items.Count; } 292if (entryPair.Value.TryGet(_context, out value)) 297foreach (var entryPair in _context.Items)