94 references to AttributeEventHandlerId
Microsoft.AspNetCore.Components (4)
RenderTree\Renderer.cs (3)
441
/// <param name="eventHandlerId">The <see cref="RenderTreeFrame.
AttributeEventHandlerId
"/> value from the original event attribute.</param>
456
/// <param name="eventHandlerId">The <see cref="RenderTreeFrame.
AttributeEventHandlerId
"/> value from the original event attribute.</param>
587
/// <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)
558
.
AttributeEventHandlerId
;
588
.
AttributeEventHandlerId
;
616
.
AttributeEventHandlerId
;
639
.
AttributeEventHandlerId
;
662
.
AttributeEventHandlerId
;
685
.
AttributeEventHandlerId
;
711
.
AttributeEventHandlerId
;
742
.
AttributeEventHandlerId
;
771
.
AttributeEventHandlerId
;
811
.
AttributeEventHandlerId
;
849
.
AttributeEventHandlerId
;
892
.
AttributeEventHandlerId
;
935
.
AttributeEventHandlerId
;
989
.
AttributeEventHandlerId
;
1037
.
AttributeEventHandlerId
;
1081
.
AttributeEventHandlerId
;
1120
.
AttributeEventHandlerId
;
1161
.
AttributeEventHandlerId
;
1203
.
AttributeEventHandlerId
;
1239
.
AttributeEventHandlerId
;
1280
.
AttributeEventHandlerId
;
1322
.
AttributeEventHandlerId
;
1357
.
AttributeEventHandlerId
;
1389
.
AttributeEventHandlerId
;
1423
.
AttributeEventHandlerId
;
1458
.
AttributeEventHandlerId
;
1490
.
AttributeEventHandlerId
;
1525
.
AttributeEventHandlerId
;
1560
.
AttributeEventHandlerId
;
1592
.
AttributeEventHandlerId
;
1627
.
AttributeEventHandlerId
;
1664
.
AttributeEventHandlerId
;
1699
.
AttributeEventHandlerId
;
1737
.
AttributeEventHandlerId
;
1776
.
AttributeEventHandlerId
;
1814
.
AttributeEventHandlerId
;
1855
.
AttributeEventHandlerId
;
1896
.
AttributeEventHandlerId
;
1933
.
AttributeEventHandlerId
;
1973
.
AttributeEventHandlerId
;
2653
.Single(f => f.
AttributeEventHandlerId
!= 0)
2654
.
AttributeEventHandlerId
;
2687
.Single(f => f.
AttributeEventHandlerId
!= 0)
2688
.
AttributeEventHandlerId
;
2729
.Single(f => f.
AttributeEventHandlerId
!= 0)
2730
.
AttributeEventHandlerId
;
2780
.Single(f => f.
AttributeEventHandlerId
!= 0)
2781
.
AttributeEventHandlerId
;
2815
.Single(f => f.
AttributeEventHandlerId
!= 0)
2816
.
AttributeEventHandlerId
;
2867
.Last(f => f.
AttributeEventHandlerId
!= 0)
2868
.
AttributeEventHandlerId
;
3060
.Single(f => f.
AttributeEventHandlerId
!= 0)
3061
.
AttributeEventHandlerId
;
3092
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3093
.
AttributeEventHandlerId
;
3134
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3135
.
AttributeEventHandlerId
;
3173
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3174
.
AttributeEventHandlerId
;
3213
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3214
.
AttributeEventHandlerId
;
3253
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
!= 0)
3254
.
AttributeEventHandlerId
;
3510
.
AttributeEventHandlerId
;
4337
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
> 0)
4338
.
AttributeEventHandlerId
;
4365
Assert.NotEqual(default, attributeFrame.
AttributeEventHandlerId
);
4366
Assert.NotEqual(eventHandlerId, attributeFrame.
AttributeEventHandlerId
);
4385
.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.
AttributeEventHandlerId
> 0)
4386
.
AttributeEventHandlerId
;
4417
Assert.NotEqual(default, attributeFrame.
AttributeEventHandlerId
);
4418
Assert.NotEqual(eventHandlerId, attributeFrame.
AttributeEventHandlerId
);
4672
.
AttributeEventHandlerId
;
4711
.
AttributeEventHandlerId
;
4760
.
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
;