93 references to AttributeEventHandlerId
Microsoft.AspNetCore.Components (4)
RenderTree\Renderer.cs (3)
402
/// <param name="eventHandlerId">The <see cref="RenderTreeFrame.
AttributeEventHandlerId
"/> value from the original event attribute.</param>
417
/// <param name="eventHandlerId">The <see cref="RenderTreeFrame.
AttributeEventHandlerId
"/> value from the original event attribute.</param>
509
/// <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)
169
if (candidate.
AttributeEventHandlerId
> 0 && string.Equals(candidate.AttributeName, eventType, StringComparison.OrdinalIgnoreCase))
171
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)
556
.
AttributeEventHandlerId
;
586
.
AttributeEventHandlerId
;
614
.
AttributeEventHandlerId
;
637
.
AttributeEventHandlerId
;
660
.
AttributeEventHandlerId
;
683
.
AttributeEventHandlerId
;
709
.
AttributeEventHandlerId
;
740
.
AttributeEventHandlerId
;
769
.
AttributeEventHandlerId
;
809
.
AttributeEventHandlerId
;
847
.
AttributeEventHandlerId
;
890
.
AttributeEventHandlerId
;
933
.
AttributeEventHandlerId
;
987
.
AttributeEventHandlerId
;
1035
.
AttributeEventHandlerId
;
1079
.
AttributeEventHandlerId
;
1118
.
AttributeEventHandlerId
;
1159
.
AttributeEventHandlerId
;
1201
.
AttributeEventHandlerId
;
1237
.
AttributeEventHandlerId
;
1278
.
AttributeEventHandlerId
;
1320
.
AttributeEventHandlerId
;
1355
.
AttributeEventHandlerId
;
1387
.
AttributeEventHandlerId
;
1421
.
AttributeEventHandlerId
;
1456
.
AttributeEventHandlerId
;
1488
.
AttributeEventHandlerId
;
1523
.
AttributeEventHandlerId
;
1558
.
AttributeEventHandlerId
;
1590
.
AttributeEventHandlerId
;
1625
.
AttributeEventHandlerId
;
1662
.
AttributeEventHandlerId
;
1697
.
AttributeEventHandlerId
;
1735
.
AttributeEventHandlerId
;
1774
.
AttributeEventHandlerId
;
1812
.
AttributeEventHandlerId
;
1853
.
AttributeEventHandlerId
;
1894
.
AttributeEventHandlerId
;
1931
.
AttributeEventHandlerId
;
1971
.
AttributeEventHandlerId
;
2651
.Single(f => f.
AttributeEventHandlerId
!= 0)
2652
.
AttributeEventHandlerId
;
2685
.Single(f => f.
AttributeEventHandlerId
!= 0)
2686
.
AttributeEventHandlerId
;
2727
.Single(f => f.
AttributeEventHandlerId
!= 0)
2728
.
AttributeEventHandlerId
;
2778
.Single(f => f.
AttributeEventHandlerId
!= 0)
2779
.
AttributeEventHandlerId
;
2813
.Single(f => f.
AttributeEventHandlerId
!= 0)
2814
.
AttributeEventHandlerId
;
2865
.Last(f => f.
AttributeEventHandlerId
!= 0)
2866
.
AttributeEventHandlerId
;
3058
.Single(f => f.
AttributeEventHandlerId
!= 0)
3059
.
AttributeEventHandlerId
;
3090
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3091
.
AttributeEventHandlerId
;
3132
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3133
.
AttributeEventHandlerId
;
3171
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3172
.
AttributeEventHandlerId
;
3211
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3212
.
AttributeEventHandlerId
;
3251
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3252
.
AttributeEventHandlerId
;
3508
.
AttributeEventHandlerId
;
4335
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
> 0)
4336
.
AttributeEventHandlerId
;
4363
Assert.NotEqual(default, attributeFrame.
AttributeEventHandlerId
);
4364
Assert.NotEqual(eventHandlerId, attributeFrame.
AttributeEventHandlerId
);
4383
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
> 0)
4384
.
AttributeEventHandlerId
;
4415
Assert.NotEqual(default, attributeFrame.
AttributeEventHandlerId
);
4416
Assert.NotEqual(eventHandlerId, attributeFrame.
AttributeEventHandlerId
);
4670
.
AttributeEventHandlerId
;
4709
.
AttributeEventHandlerId
;
4758
.
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.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
;