11 references to GetComponentFrames
Microsoft.AspNetCore.Components.Web.Tests (11)
Forms\EditFormTest.cs (3)
114.GetComponentFrames<EditForm>().Single().ComponentId; 145.GetComponentFrames<EditForm>().Single().ComponentId; 195.GetComponentFrames<EditForm>().Single().ComponentId;
Forms\InputBaseTest.cs (5)
381var componentFrame1 = batch1.GetComponentFrames<TestInputComponent<string>>().Single(); 414var component = renderer.Batches.Single().GetComponentFrames<TestInputComponent<string>>().Single().Component; 449var componentFrame1 = batch1.GetComponentFrames<TestInputComponent<string>>().Single(); 484var componentFrame1 = batch1.GetComponentFrames<TestInputComponent<string>>().Single(); 512var componentFrame1 = batch1.GetComponentFrames<TestInputComponent<string>>().Single();
Forms\InputNumberTest.cs (1)
101return batch.GetComponentFrames<TestInputNumberComponent>().Single().ComponentId;
Forms\Mapping\SupplyParameterFromFormTest.cs (1)
51.GetComponentFrames<FormParametersComponentWithName>().Single()
src\Components\Shared\test\CapturedBatch.cs (1)
23=> GetComponentFrames<T>().SelectMany(f => DiffsByComponentId[f.ComponentId]);