19 references to ElementName
Microsoft.AspNetCore.Components (1)
RenderTree\RenderTreeFrame.cs (1)
469return $"Element: (seq={Sequence}, key={ElementKeyField ?? "(none)"}, len={ElementSubtreeLength}) {ElementName}";
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\AssertFrame.cs (1)
37Assert.Equal(elementName, frame.ElementName);
Microsoft.AspNetCore.Components.Forms.Tests (1)
src\Components\Shared\test\AssertFrame.cs (1)
37Assert.Equal(elementName, frame.ElementName);
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
179WriteString(frame.ElementName, allowDeduplication: true);
Microsoft.AspNetCore.Components.Tests (3)
RenderTreeDiffBuilderTest.cs (2)
2209Assert.Equal("some elem", referenceFrames[entry.ReferenceFrameIndex].ElementName); 2238Assert.Equal("new element", referenceFrames[entry.ReferenceFrameIndex].ElementName);
src\Components\Shared\test\AssertFrame.cs (1)
37Assert.Equal(elementName, frame.ElementName);
Microsoft.AspNetCore.Components.Web (9)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (9)
108output.Write(frame.ElementName); 110var isTextArea = string.Equals(frame.ElementName, "textarea", StringComparison.OrdinalIgnoreCase); 111var isForm = string.Equals(frame.ElementName, "form", StringComparison.OrdinalIgnoreCase); 119&& string.Equals(frame.ElementName, "option", StringComparison.OrdinalIgnoreCase) 130var isSelect = string.Equals(frame.ElementName, "select", StringComparison.OrdinalIgnoreCase); 160output.Write(frame.ElementName); 167if (SelfClosingElements.Contains(frame.ElementName)) 174output.Write(frame.ElementName); 210if (string.Equals(enclosingElementFrame.ElementName, "form", StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Components.Web.Tests (1)
src\Components\Shared\test\AssertFrame.cs (1)
37Assert.Equal(elementName, frame.ElementName);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
179WriteString(frame.ElementName, allowDeduplication: true);
Microsoft.AspNetCore.Components.WebView.Test (1)
Infrastructure\TestDocument.cs (1)
289var newElement = new ElementNode(frame.ElementName);