94 references to AttributeEventHandlerId
Microsoft.AspNetCore.Components (4)
RenderTree\Renderer.cs (3)
428
/// <param name="eventHandlerId">The <see cref="RenderTreeFrame.
AttributeEventHandlerId
"/> value from the original event attribute.</param>
443
/// <param name="eventHandlerId">The <see cref="RenderTreeFrame.
AttributeEventHandlerId
"/> value from the original event attribute.</param>
574
/// <param name="eventHandlerId">The <see cref="RenderTreeFrame.
AttributeEventHandlerId
"/> value from the original event attribute.</param>
RenderTree\RenderTreeFrame.cs (1)
463
return $"Attribute: (seq={Sequence}, id={
AttributeEventHandlerId
}) '{AttributeName}'='{AttributeValue}'";
Microsoft.AspNetCore.Components.Endpoints (2)
Rendering\EndpointHtmlRenderer.EventDispatch.cs (2)
236
if (candidate.
AttributeEventHandlerId
> 0 && string.Equals(candidate.AttributeName, eventType, StringComparison.OrdinalIgnoreCase))
238
return candidate.
AttributeEventHandlerId
;
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
162
_binaryWriter.Write(frame.
AttributeEventHandlerId
); // 8 bytes
Microsoft.AspNetCore.Components.Tests (84)
RendererTest.cs (76)
557
.
AttributeEventHandlerId
;
587
.
AttributeEventHandlerId
;
615
.
AttributeEventHandlerId
;
638
.
AttributeEventHandlerId
;
661
.
AttributeEventHandlerId
;
684
.
AttributeEventHandlerId
;
710
.
AttributeEventHandlerId
;
741
.
AttributeEventHandlerId
;
770
.
AttributeEventHandlerId
;
810
.
AttributeEventHandlerId
;
848
.
AttributeEventHandlerId
;
891
.
AttributeEventHandlerId
;
934
.
AttributeEventHandlerId
;
988
.
AttributeEventHandlerId
;
1036
.
AttributeEventHandlerId
;
1080
.
AttributeEventHandlerId
;
1119
.
AttributeEventHandlerId
;
1160
.
AttributeEventHandlerId
;
1202
.
AttributeEventHandlerId
;
1238
.
AttributeEventHandlerId
;
1279
.
AttributeEventHandlerId
;
1321
.
AttributeEventHandlerId
;
1356
.
AttributeEventHandlerId
;
1388
.
AttributeEventHandlerId
;
1422
.
AttributeEventHandlerId
;
1457
.
AttributeEventHandlerId
;
1489
.
AttributeEventHandlerId
;
1524
.
AttributeEventHandlerId
;
1559
.
AttributeEventHandlerId
;
1591
.
AttributeEventHandlerId
;
1626
.
AttributeEventHandlerId
;
1663
.
AttributeEventHandlerId
;
1698
.
AttributeEventHandlerId
;
1736
.
AttributeEventHandlerId
;
1775
.
AttributeEventHandlerId
;
1813
.
AttributeEventHandlerId
;
1854
.
AttributeEventHandlerId
;
1895
.
AttributeEventHandlerId
;
1932
.
AttributeEventHandlerId
;
1972
.
AttributeEventHandlerId
;
2652
.Single(f => f.
AttributeEventHandlerId
!= 0)
2653
.
AttributeEventHandlerId
;
2686
.Single(f => f.
AttributeEventHandlerId
!= 0)
2687
.
AttributeEventHandlerId
;
2728
.Single(f => f.
AttributeEventHandlerId
!= 0)
2729
.
AttributeEventHandlerId
;
2779
.Single(f => f.
AttributeEventHandlerId
!= 0)
2780
.
AttributeEventHandlerId
;
2814
.Single(f => f.
AttributeEventHandlerId
!= 0)
2815
.
AttributeEventHandlerId
;
2866
.Last(f => f.
AttributeEventHandlerId
!= 0)
2867
.
AttributeEventHandlerId
;
3059
.Single(f => f.
AttributeEventHandlerId
!= 0)
3060
.
AttributeEventHandlerId
;
3091
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3092
.
AttributeEventHandlerId
;
3133
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3134
.
AttributeEventHandlerId
;
3172
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3173
.
AttributeEventHandlerId
;
3212
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3213
.
AttributeEventHandlerId
;
3252
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3253
.
AttributeEventHandlerId
;
3509
.
AttributeEventHandlerId
;
4336
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
> 0)
4337
.
AttributeEventHandlerId
;
4364
Assert.NotEqual(default, attributeFrame.
AttributeEventHandlerId
);
4365
Assert.NotEqual(eventHandlerId, attributeFrame.
AttributeEventHandlerId
);
4384
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
> 0)
4385
.
AttributeEventHandlerId
;
4416
Assert.NotEqual(default, attributeFrame.
AttributeEventHandlerId
);
4417
Assert.NotEqual(eventHandlerId, attributeFrame.
AttributeEventHandlerId
);
4671
.
AttributeEventHandlerId
;
4710
.
AttributeEventHandlerId
;
4759
.
AttributeEventHandlerId
;
RenderTreeDiffBuilderTest.cs (8)
935
Assert.NotEqual(default, removedEventHandlerFrame.
AttributeEventHandlerId
);
937
new[] { removedEventHandlerFrame.
AttributeEventHandlerId
},
1668
Assert.NotEqual(default, oldAttributeFrame.
AttributeEventHandlerId
);
1669
Assert.Equal(oldAttributeFrame.
AttributeEventHandlerId
, newAttributeFrame.
AttributeEventHandlerId
);
1695
Assert.NotEqual(default, oldAttributeFrame.
AttributeEventHandlerId
);
1696
Assert.Equal(oldAttributeFrame.
AttributeEventHandlerId
, newAttributeFrame.
AttributeEventHandlerId
);
Microsoft.AspNetCore.Components.Web.Tests (1)
Media\FileDownloadTest.cs (1)
164
handlerId = frame.
AttributeEventHandlerId
;
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
162
_binaryWriter.Write(frame.
AttributeEventHandlerId
); // 8 bytes
Microsoft.AspNetCore.Components.WebView.Test (1)
Infrastructure\TestDocument.cs (1)
323
var eventHandlerId = attributeFrame.
AttributeEventHandlerId
;