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