4 writes to _options
Microsoft.ML.SearchSpace (4)
22 references to _options
Microsoft.ML.SearchSpace (22)
SearchSpace.cs (22)
78return _options.Values.Select(x => x.FeatureSpaceDim).Sum();
83public ICollection<string> Keys => ((IDictionary<string, OptionBase>)_options).Keys;
86public ICollection<OptionBase> Values => ((IDictionary<string, OptionBase>)_options).Values;
89public int Count => ((ICollection<KeyValuePair<string, OptionBase>>)_options).Count;
92public bool IsReadOnly => ((ICollection<KeyValuePair<string, OptionBase>>)_options).IsReadOnly;
106public OptionBase this[string key] { get => ((IDictionary<string, OptionBase>)_options)[key]; set => ((IDictionary<string, OptionBase>)_options)[key] = value; }
115foreach (var key in _options.Keys.OrderBy(k => k))
117var option = _options[key];
136foreach (var key in _options.Keys.OrderBy(k => k))
138var option = _options[key];
313((IDictionary<string, OptionBase>)_options).Add(key, value);
319return ((IDictionary<string, OptionBase>)_options).ContainsKey(key);
325return ((IDictionary<string, OptionBase>)_options).Remove(key);
331return ((IDictionary<string, OptionBase>)_options).TryGetValue(key, out value);
337((ICollection<KeyValuePair<string, OptionBase>>)_options).Add(item);
343((ICollection<KeyValuePair<string, OptionBase>>)_options).Clear();
349return ((ICollection<KeyValuePair<string, OptionBase>>)_options).Contains(item);
355((ICollection<KeyValuePair<string, OptionBase>>)_options).CopyTo(array, arrayIndex);
361return ((ICollection<KeyValuePair<string, OptionBase>>)_options).Remove(item);
367return ((IEnumerable<KeyValuePair<string, OptionBase>>)_options).GetEnumerator();
373return ((System.Collections.IEnumerable)_options).GetEnumerator();