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)
1912newTree.AddComponentReferenceCapture(1, assigner1); 1913newTree.AddComponentReferenceCapture(2, assigner2); 1951oldTree.AddComponentReferenceCapture(1, assigner); 1954newTree.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>));