24 references to ElementSubtreeLength
Microsoft.AspNetCore.Components (2)
ParameterView.cs (1)
256var ownerDescendantsEndIndexExcl = ownerIndex + frames[ownerIndex].ElementSubtreeLength;
RenderTree\RenderTreeFrame.cs (1)
469return $"Element: (seq={Sequence}, key={ElementKeyField ?? "(none)"}, len={ElementSubtreeLength}) {ElementName}";
Microsoft.AspNetCore.Components.Authorization.Tests (3)
src\Components\Shared\test\AssertFrame.cs (3)
22Assert.Equal(0, frame.ElementSubtreeLength); 30Assert.Equal(0, frame.ElementSubtreeLength); 38Assert.Equal(subtreeLength, frame.ElementSubtreeLength);
Microsoft.AspNetCore.Components.Forms.Tests (3)
src\Components\Shared\test\AssertFrame.cs (3)
22Assert.Equal(0, frame.ElementSubtreeLength); 30Assert.Equal(0, frame.ElementSubtreeLength); 38Assert.Equal(subtreeLength, frame.ElementSubtreeLength);
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
178_binaryWriter.Write(frame.ElementSubtreeLength);
Microsoft.AspNetCore.Components.Tests (3)
src\Components\Shared\test\AssertFrame.cs (3)
22Assert.Equal(0, frame.ElementSubtreeLength); 30Assert.Equal(0, frame.ElementSubtreeLength); 38Assert.Equal(subtreeLength, frame.ElementSubtreeLength);
Microsoft.AspNetCore.Components.Web (5)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (5)
113var afterAttributes = RenderAttributes(output, frames, position + 1, frame.ElementSubtreeLength - 1, !isTextArea, isForm: isForm, out var capturedValueAttribute); 125var remainingElements = frame.ElementSubtreeLength + position - afterAttributes; 141afterElement = position + frame.ElementSubtreeLength; // Skip descendants 162Debug.Assert(afterElement == position + frame.ElementSubtreeLength); 177Debug.Assert(afterAttributes == position + frame.ElementSubtreeLength);
Microsoft.AspNetCore.Components.Web.Tests (3)
src\Components\Shared\test\AssertFrame.cs (3)
22Assert.Equal(0, frame.ElementSubtreeLength); 30Assert.Equal(0, frame.ElementSubtreeLength); 38Assert.Equal(subtreeLength, frame.ElementSubtreeLength);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
178_binaryWriter.Write(frame.ElementSubtreeLength);
Microsoft.AspNetCore.Components.WebView.Test (3)
Infrastructure\TestDocument.cs (3)
294for (var i = frameIndex + 1; i < frameIndex + frame.ElementSubtreeLength; i++) 308InsertFrameRange(batch, newElement, 0, frames, i, frameIndex + frame.ElementSubtreeLength); 433return frame.ElementSubtreeLength - 1;