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