1 write to ReferenceFrames
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
125capturedBatch.ReferenceFrames = renderBatch.ReferenceFrames.AsEnumerable().ToArray();
21 references to ReferenceFrames
Microsoft.AspNetCore.Components.Authorization.Tests (21)
AuthorizeRouteViewTest.cs (7)
68AssertFrame.Component<TestPageRequiringAuthorization>(batch.ReferenceFrames[edit.ReferenceFrameIndex]); 105AssertFrame.Component<TestPageRequiringAuthorization>(batch.ReferenceFrames[edit.ReferenceFrameIndex]); 241AssertFrame.Text(batch.ReferenceFrames[edit.ReferenceFrameIndex], "Go away, Bert"); 285var componentInstances = batch.ReferenceFrames 314var componentInstances = batch.ReferenceFrames 360AssertFrame.Text(batch2.ReferenceFrames[edit.ReferenceFrameIndex], "Not authorized"); 373ref var referenceFrame = ref batch.ReferenceFrames[edit.ReferenceFrameIndex];
AuthorizeViewTest.cs (9)
71renderer.Batches.Single().ReferenceFrames[edit.ReferenceFrameIndex], 135renderer.Batches.Single().ReferenceFrames[edit.ReferenceFrameIndex], 171renderer.Batches.Single().ReferenceFrames[edit.ReferenceFrameIndex], 218batch.ReferenceFrames[edit.ReferenceFrameIndex], 285batch2.ReferenceFrames[edit.ReferenceFrameIndex], 316batch1.ReferenceFrames[edit.ReferenceFrameIndex], 335batch2.ReferenceFrames[edit.ReferenceFrameIndex], 374batch1.ReferenceFrames[edit.ReferenceFrameIndex], 393batch2.ReferenceFrames[edit.ReferenceFrameIndex],
CascadingAuthenticationStateTest.cs (4)
59batch.ReferenceFrames[edit.ReferenceFrameIndex], 94batch1.ReferenceFrames[edit.ReferenceFrameIndex], 112batch2.ReferenceFrames[edit.ReferenceFrameIndex], 148batch.ReferenceFrames[edit.ReferenceFrameIndex],
src\Components\Shared\test\CapturedBatch.cs (1)
20=> ReferenceFrames.Where(f => f.FrameType == RenderTreeFrameType.Component && f.Component is T);