Implemented interface members:
20 references to Count
Microsoft.AspNetCore.Mvc.ViewFeatures (20)
AttributeDictionary.cs (17)
76Debug.Assert(index >= 0 && index < Count && _items != null); 82Debug.Assert(index >= 0 && index <= Count); 95Debug.Assert(index >= 0 && index <= Count); 108Debug.Assert(index >= 0 && index < Count); 121if (Count == 0) 127var end = Count - 1; 216if (Count == 0) 234for (var i = 0; i < Count; i++) 356return _index < _attributes.Count; 375public int Count => _attributes.Count; 393for (var i = 0; i < _attributes.Count; i++) 413for (var i = 0; i < _attributes.Count; i++) 463return _index < _attributes.Count; 482public int Count => _attributes.Count; 498for (var i = 0; i < _attributes.Count; i++) 518for (var i = 0; i < _attributes.Count; i++) 568return _index < _attributes.Count;
HtmlHelper.cs (2)
1063if (tagBuilder.Attributes.Count == 0) 1068else if (tagBuilder.Attributes.Count == 1 &&
Rendering\TagBuilder.cs (1)
237if (_attributes != null && _attributes.Count > 0)