1 instantiation of SimpleSubscriberComponent
Microsoft.AspNetCore.Components.Tests (1)
CascadingParameterTest.cs (1)
845
var components = Enumerable.Range(0, numSubscribers).Select(_ => new
SimpleSubscriberComponent
()).ToArray();
6 references to SimpleSubscriberComponent
Microsoft.AspNetCore.Components.Tests (6)
CascadingParameterTest.cs (6)
679
var nestedComponent = FindComponent<
SimpleSubscriberComponent
>(secondBatch, out var nestedComponentId);
848
foreach (
var
component in components)
858
foreach (
var
component in components)
957
public
SimpleSubscriberComponent
NestedSubscriber { get; private set; }
970
builder.OpenComponent<
SimpleSubscriberComponent
>(1);
971
builder.AddComponentReferenceCapture(2, component => NestedSubscriber = component as
SimpleSubscriberComponent
);