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