51 references to AttributeName
Microsoft.AspNetCore.Components (1)
RenderTree\RenderTreeFrame.cs (1)
463return $"Attribute: (seq={Sequence}, id={AttributeEventHandlerId}) '{AttributeName}'='{AttributeValue}'";
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\AssertFrame.cs (1)
45Assert.Equal(attributeName, frame.AttributeName);
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
169if (candidate.AttributeEventHandlerId > 0 && string.Equals(candidate.AttributeName, eventType, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
ImportMapTest.cs (5)
71Assert.Equal("type", frames.Array[1].AttributeName); 73Assert.Equal("nonce", frames.Array[2].AttributeName); 118Assert.Equal("type", frames.Array[1].AttributeName); 183Assert.Equal("type", frames.Array[1].AttributeName); 242Assert.Equal("type", frames.Array[1].AttributeName);
Microsoft.AspNetCore.Components.Forms.Tests (1)
src\Components\Shared\test\AssertFrame.cs (1)
45Assert.Equal(attributeName, frame.AttributeName);
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
145WriteString(frame.AttributeName, allowDeduplication: true);
Microsoft.AspNetCore.Components.Tests (32)
RendererTest.cs (30)
1034.First(frame => frame.AttributeName == "onclickaction") 1078.First(frame => frame.AttributeName == "onclickaction") 1117.First(frame => frame.AttributeName == "onclick") 1158.First(frame => frame.AttributeName == "onclick") 1200.First(frame => frame.AttributeName == "onclick") 1236.First(frame => frame.AttributeName == "onclick") 1277.First(frame => frame.AttributeName == "onclick") 1319.First(frame => frame.AttributeName == "onclick") 1354.First(frame => frame.AttributeName == "onclickaction") 1386.First(frame => frame.AttributeName == "onclick") 1420.First(frame => frame.AttributeName == "onclick") 1455.First(frame => frame.AttributeName == "onclickaction") 1487.First(frame => frame.AttributeName == "onclick") 1522.First(frame => frame.AttributeName == "onclick") 1557.First(frame => frame.AttributeName == "onclickaction") 1589.First(frame => frame.AttributeName == "onclick") 1624.First(frame => frame.AttributeName == "onclick") 1661.First(frame => frame.AttributeName == "onclickaction") 1696.First(frame => frame.AttributeName == "onclick") 1734.First(frame => frame.AttributeName == "onclick") 1773.First(frame => frame.AttributeName == "onclickaction") 1811.First(frame => frame.AttributeName == "onclick") 1852.First(frame => frame.AttributeName == "onclick") 1893.First(frame => frame.AttributeName == "onclickaction") 1930.First(frame => frame.AttributeName == "onclick") 1970.First(frame => frame.AttributeName == "onclick") 3057.Where(f => f.FrameType == RenderTreeFrameType.Attribute && f.AttributeName == "onmycustomevent") 4669.Single(f => f.FrameType == RenderTreeFrameType.Attribute && f.AttributeName == "onmakeerror") 4708.Single(f => f.FrameType == RenderTreeFrameType.Attribute && f.AttributeName == "onmakeerror") 4757.Single(f => f.FrameType == RenderTreeFrameType.Attribute && f.AttributeName == "onmakeerror")
RenderTreeDiffBuilderTest.cs (1)
2297Assert.Equal("attr1", referenceFrames[entry.ReferenceFrameIndex].AttributeName);
src\Components\Shared\test\AssertFrame.cs (1)
45Assert.Equal(attributeName, frame.AttributeName);
Microsoft.AspNetCore.Components.Web (4)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (4)
307if (frame.AttributeName.Equals("value", StringComparison.OrdinalIgnoreCase)) 317if (isForm && frame.AttributeName.Equals("action", StringComparison.OrdinalIgnoreCase) && 327output.Write(frame.AttributeName); 331output.Write(frame.AttributeName);
Microsoft.AspNetCore.Components.Web.Tests (3)
Forms\EditFormTest.cs (1)
200.ToDictionary(f => f.AttributeName, f => f.AttributeValue);
Forms\InputNumberTest.cs (1)
90frame.AttributeName == "type");
src\Components\Shared\test\AssertFrame.cs (1)
45Assert.Equal(attributeName, frame.AttributeName);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
145WriteString(frame.AttributeName, allowDeduplication: true);
Microsoft.AspNetCore.Components.WebView.Test (1)
Infrastructure\TestDocument.cs (1)
322var attributeName = attributeFrame.AttributeName;