16 references to AddComponentReferenceCapture
Microsoft.AspNetCore.Components (1)
DynamicComponent.cs (1)
105
builder.
AddComponentReferenceCapture
(2, component => Instance = component);
Microsoft.AspNetCore.Components.Tests (13)
CascadingParameterTest.cs (1)
971
builder.
AddComponentReferenceCapture
(2, component => NestedSubscriber = component as SimpleSubscriberComponent);
Rendering\RenderTreeBuilderTest.cs (8)
565
builder.
AddComponentReferenceCapture
(1, _ => { });
580
builder.
AddComponentReferenceCapture
(1, _ => { });
808
builder.
AddComponentReferenceCapture
(2, myAction); // 2: # capture: myAction
829
builder.
AddComponentReferenceCapture
(0, _ => { });
843
builder.
AddComponentReferenceCapture
(1, _ => { });
857
builder.
AddComponentReferenceCapture
(1, _ => { });
876
builder.
AddComponentReferenceCapture
(0, referenceCaptureAction1);
877
builder.
AddComponentReferenceCapture
(0, referenceCaptureAction2);
RenderTreeDiffBuilderTest.cs (4)
1912
newTree.
AddComponentReferenceCapture
(1, assigner1);
1913
newTree.
AddComponentReferenceCapture
(2, assigner2);
1951
oldTree.
AddComponentReferenceCapture
(1, assigner);
1954
newTree.
AddComponentReferenceCapture
(1, assigner);
Microsoft.AspNetCore.Components.Web.Tests (2)
HtmlRendering\HtmlRendererTest.cs (1)
626
rtb.
AddComponentReferenceCapture
(5, cr => { });
Virtualization\VirtualizeTest.cs (1)
122
builder.
AddComponentReferenceCapture
(4, component => captureRenderedVirtualize(component as Virtualize<TItem>));