26 references to AddElementReferenceCapture
Microsoft.AspNetCore.Components.Tests (14)
RendererTest.cs (2)
3276builder.AddElementReferenceCapture(2, _ => { }); 3278builder.AddElementReferenceCapture(4, _ => { });
Rendering\RenderTreeBuilderTest.cs (8)
550builder.AddElementReferenceCapture(1, _ => { }); 719builder.AddElementReferenceCapture(2, referenceCaptureAction); // 2: # capture: referenceCaptureAction 740builder.AddElementReferenceCapture(0, _ => { }); 754builder.AddElementReferenceCapture(1, _ => { }); 768builder.AddElementReferenceCapture(1, _ => { }); 787builder.AddElementReferenceCapture(0, referenceCaptureAction1); 788builder.AddElementReferenceCapture(0, referenceCaptureAction2); 1846builder.AddElementReferenceCapture(0, capture);
RenderTreeDiffBuilderTest.cs (4)
1845newTree.AddElementReferenceCapture(1, capture1); 1846newTree.AddElementReferenceCapture(2, capture2); 1885oldTree.AddElementReferenceCapture(1, capture1); 1888newTree.AddElementReferenceCapture(1, capture1);
Microsoft.AspNetCore.Components.Web (10)
Forms\InputCheckbox.cs (1)
47builder.AddElementReferenceCapture(8, __inputReference => Element = __inputReference);
Forms\InputDate.cs (1)
94builder.AddElementReferenceCapture(7, __inputReference => Element = __inputReference);
Forms\InputFile.cs (1)
63builder.AddElementReferenceCapture(3, elementReference => _inputFileElement = elementReference);
Forms\InputNumber.cs (1)
63builder.AddElementReferenceCapture(8, __inputReference => Element = __inputReference);
Forms\InputRadio.cs (1)
74builder.AddElementReferenceCapture(8, __inputReference => Element = __inputReference);
Forms\InputSelect.cs (1)
60builder.AddElementReferenceCapture(9, __selectReference => Element = __selectReference);
Forms\InputText.cs (1)
41builder.AddElementReferenceCapture(6, __inputReference => Element = __inputReference);
Forms\InputTextArea.cs (1)
41builder.AddElementReferenceCapture(6, __inputReference => Element = __inputReference);
Virtualization\Virtualize.cs (2)
226builder.AddElementReferenceCapture(2, elementReference => _spacerBefore = elementReference); 287builder.AddElementReferenceCapture(9, elementReference => _spacerAfter = elementReference);
Microsoft.AspNetCore.Components.Web.Tests (2)
HtmlRendering\HtmlRendererTest.cs (2)
524rtb.AddElementReferenceCapture(3, inputReference => _ = inputReference); 714rtb.AddElementReferenceCapture(1, er => { });