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