8 references to GetComponentFrames
Microsoft.AspNetCore.Components.Authorization.Tests (8)
AuthorizeViewTest.cs (4)
202.GetComponentFrames<AuthorizeView>().Single().ComponentId; 267var authorizeViewComponentId = batch1.GetComponentFrames<AuthorizeView>().Single().ComponentId; 310var authorizeViewComponentId = Assert.Single(batch1.GetComponentFrames<AuthorizeView>()).ComponentId; 368var authorizeViewComponentId = batch1.GetComponentFrames<AuthorizeView>().Single().ComponentId;
CascadingAuthenticationStateTest.cs (3)
53var receiveAuthStateId = batch.GetComponentFrames<ReceiveAuthStateComponent>().Single().ComponentId; 86var receiveAuthStateFrame = batch1.GetComponentFrames<ReceiveAuthStateComponent>().Single(); 134.GetComponentFrames<ReceiveAuthStateComponent>().Single().ComponentId;
src\Components\Shared\test\CapturedBatch.cs (1)
23=> GetComponentFrames<T>().SelectMany(f => DiffsByComponentId[f.ComponentId]);