15 references to DiffsByComponentId
Microsoft.AspNetCore.Components.Authorization.Tests (15)
AuthorizeViewTest.cs (7)
213
var diff = batch.
DiffsByComponentId
[authorizeViewComponentId].Single();
268
var diff1 = batch1.
DiffsByComponentId
[authorizeViewComponentId].Single();
280
var diff2 = batch2.
DiffsByComponentId
[authorizeViewComponentId].Single();
311
var diff1 = Assert.Single(batch1.
DiffsByComponentId
[authorizeViewComponentId]);
329
var diff2 = Assert.Single(batch2.
DiffsByComponentId
[authorizeViewComponentId]);
369
var diff1 = batch1.
DiffsByComponentId
[authorizeViewComponentId].Single();
387
var diff2 = batch2.
DiffsByComponentId
[authorizeViewComponentId].Single();
CascadingAuthenticationStateTest.cs (4)
54
var receiveAuthStateDiff = batch.
DiffsByComponentId
[receiveAuthStateId].Single();
89
var receiveAuthStateDiff1 = batch1.
DiffsByComponentId
[receiveAuthStateId].Single();
107
var receiveAuthStateDiff2 = batch2.
DiffsByComponentId
[receiveAuthStateId].Single();
143
var receiveAuthStateDiff = batch.
DiffsByComponentId
[receiveAuthStateId].Single();
src\Components\Shared\test\CapturedBatch.cs (4)
23
=> GetComponentFrames<T>().SelectMany(f =>
DiffsByComponentId
[f.ComponentId]);
28
if (!
DiffsByComponentId
.ContainsKey(componentId))
30
DiffsByComponentId
.Add(componentId, new List<RenderTreeDiff>());
39
DiffsByComponentId
[componentId].Add(diffClone);