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