26 references to Options
System.Net.Http (26)
System\Net\Http\HttpRequestOptions.cs (26)
18bool IReadOnlyDictionary<string, object?>.TryGetValue(string key, out object? value) => Options.TryGetValue(key, out value); 19object? IReadOnlyDictionary<string, object?>.this[string key] => Options[key]; 20IEnumerable<string> IReadOnlyDictionary<string, object?>.Keys => Options.Keys; 21IEnumerable<object?> IReadOnlyDictionary<string, object?>.Values => Options.Values; 26return Options[key]; 30Options[key] = value; 33ICollection<string> IDictionary<string, object?>.Keys => Options.Keys; 34ICollection<object?> IDictionary<string, object?>.Values => Options.Values; 35int ICollection<KeyValuePair<string, object?>>.Count => Options.Count; 36bool ICollection<KeyValuePair<string, object?>>.IsReadOnly => ((IDictionary<string, object?>)Options).IsReadOnly; 37void IDictionary<string, object?>.Add(string key, object? value) => Options.Add(key, value); 38void ICollection<KeyValuePair<string, object?>>.Add(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Add(item); 39void ICollection<KeyValuePair<string, object?>>.Clear() => Options.Clear(); 40bool ICollection<KeyValuePair<string, object?>>.Contains(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Contains(item); 41bool IDictionary<string, object?>.ContainsKey(string key) => Options.ContainsKey(key); 43((IDictionary<string, object?>)Options).CopyTo(array, arrayIndex); 44IEnumerator<KeyValuePair<string, object?>> IEnumerable<KeyValuePair<string, object?>>.GetEnumerator() => Options.GetEnumerator(); 45System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => ((System.Collections.IEnumerable)Options).GetEnumerator(); 46bool IDictionary<string, object?>.Remove(string key) => Options.Remove(key); 47bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Remove(item); 48bool IReadOnlyDictionary<string, object?>.ContainsKey(string key) => Options.ContainsKey(key); 49bool IDictionary<string, object?>.TryGetValue(string key, out object? value) => Options.TryGetValue(key, out value); 50int IReadOnlyCollection<KeyValuePair<string, object?>>.Count => Options.Count; 66if (Options.TryGetValue(key.Key, out object? _value) && _value is TValue tvalue) 84Options[key.Key] = value; 87private string DebuggerToString() => $"Count = {Options.Count}";