16 references to Count
Microsoft.AspNetCore.Html.Abstractions.Tests (15)
HtmlContentBuilderTest.cs (15)
22Assert.Equal(1, content.Count); 70Assert.Equal(1, content.Count); 88Assert.Equal(2, content.Count); 107Assert.Equal(0, content.Count); 126Assert.Equal(2, source.Count); 127Assert.Equal(3, destination.Count); 153Assert.Equal(2, source.Count); 154Assert.Equal(1, nested.Count); 155Assert.Equal(3, destination.Count); 178Assert.Equal(0, source.Count); 179Assert.Equal(3, destination.Count); 205Assert.Equal(0, source.Count); 206Assert.Equal(0, nested.Count); 207Assert.Equal(3, destination.Count); 228Assert.Equal(2, content.Count);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Rendering\TagBuilder.cs (1)
106public bool HasInnerHtml => _innerHtml?.Count > 0;