142 references to GetFrames
Microsoft.AspNetCore.Components (6)
Rendering\ComponentState.cs (3)
126_nextRenderTree.GetFrames(), 127CurrentRenderTree.GetFrames()); 311RenderTreeDiffBuilder.DisposeFrames(batchBuilder, ComponentId, CurrentRenderTree.GetFrames());
Rendering\RenderTreeUpdater.cs (2)
20var frames = renderTreeBuilder.GetFrames(); 86framesArray = renderTreeBuilder.GetFrames().Array; // Refresh in case it mutated due to the expansion
RenderTree\Renderer.cs (1)
230protected ArrayRange<RenderTreeFrame> GetCurrentRenderTreeFrames(int componentId) => GetRequiredComponentState(componentId).CurrentRenderTree.GetFrames();
Microsoft.AspNetCore.Components.Performance (2)
RenderTreeDiffBuilderBenchmark.cs (2)
82var diff = RenderTreeDiffBuilder.ComputeDiff(renderer, builder, 0, modified.GetFrames(), original.GetFrames());
Microsoft.AspNetCore.Components.Tests (134)
ParameterViewTest.Assignment.cs (1)
762var view = new ParameterView(ParameterViewLifetime.Unbound, builder.GetFrames().Array, ownerIndex: 0);
Rendering\RenderTreeBuilderTest.cs (82)
20var frames = builder.GetFrames(); 38var frames = builder.GetFrames(); 58var frames = builder.GetFrames(); 79var frames = builder.GetFrames(); 101var frames = builder.GetFrames(); 117var frames = builder.GetFrames(); 134var frames = builder.GetFrames(); 150var frame = builder.GetFrames().AsEnumerable().Single(); 166var frames = builder.GetFrames(); 185var frames = builder.GetFrames(); 215Assert.Collection(builder.GetFrames().AsEnumerable(), 248Assert.Collection(builder.GetFrames().AsEnumerable(), 269var frames = builder.GetFrames().AsEnumerable().ToArray(); 308var frames = builder.GetFrames().AsEnumerable().ToArray(); 342var frames = builder.GetFrames().AsEnumerable().ToArray(); 418var frames = builder.GetFrames().AsEnumerable().ToArray(); 617Assert.Collection(builder.GetFrames().AsEnumerable(), 645Assert.Collection(builder.GetFrames().AsEnumerable(), 673Assert.Collection(builder.GetFrames().AsEnumerable(), 701Assert.Collection(builder.GetFrames().AsEnumerable(), 724Assert.Collection(builder.GetFrames().AsEnumerable(), 792Assert.Collection(builder.GetFrames().AsEnumerable(), 813Assert.Collection(builder.GetFrames().AsEnumerable(), 881Assert.Collection(builder.GetFrames().AsEnumerable(), 901Assert.Empty(builder.GetFrames().AsEnumerable()); 917builder.GetFrames().AsEnumerable(), 935builder.GetFrames().AsEnumerable(), 954builder.GetFrames().AsEnumerable(), 974builder.GetFrames().AsEnumerable(), 992builder.GetFrames().AsEnumerable(), 1010builder.GetFrames().AsEnumerable(), 1029builder.GetFrames().AsEnumerable(), 1049builder.GetFrames().AsEnumerable(), 1069builder.GetFrames().AsEnumerable(), 1087builder.GetFrames().AsEnumerable(), 1106builder.GetFrames().AsEnumerable(), 1124builder.GetFrames().AsEnumerable(), 1148builder.GetFrames().AsEnumerable(), 1167builder.GetFrames().AsEnumerable(), 1186builder.GetFrames().AsEnumerable(), 1205builder.GetFrames().AsEnumerable(), 1224builder.GetFrames().AsEnumerable(), 1244builder.GetFrames().AsEnumerable(), 1264builder.GetFrames().AsEnumerable(), 1283builder.GetFrames().AsEnumerable(), 1302builder.GetFrames().AsEnumerable(), 1321builder.GetFrames().AsEnumerable(), 1341builder.GetFrames().AsEnumerable(), 1361builder.GetFrames().AsEnumerable(), 1379builder.GetFrames().AsEnumerable(), 1397builder.GetFrames().AsEnumerable(), 1416builder.GetFrames().AsEnumerable(), 1434builder.GetFrames().AsEnumerable(), 1452builder.GetFrames().AsEnumerable(), 1472builder.GetFrames().AsEnumerable(), 1492builder.GetFrames().AsEnumerable(), 1512builder.GetFrames().AsEnumerable(), 1532builder.GetFrames().AsEnumerable(), 1551builder.GetFrames().AsEnumerable(), 1570builder.GetFrames().AsEnumerable(), 1589builder.GetFrames().AsEnumerable(), 1609builder.GetFrames().AsEnumerable(), 1628builder.GetFrames().AsEnumerable(), 1647builder.GetFrames().AsEnumerable(), 1666builder.GetFrames().AsEnumerable(), 1684builder.GetFrames().AsEnumerable(), 1704builder.GetFrames().AsEnumerable(), 1730builder.GetFrames().AsEnumerable(), 1783builder.GetFrames().AsEnumerable(), 1804builder.GetFrames().AsEnumerable(), 1823var frames = builder.GetFrames().AsEnumerable(); 1850var frames = builder.GetFrames().AsEnumerable(); 1875var frames = builder.GetFrames().AsEnumerable(); 1899var frames = builder.GetFrames().AsEnumerable(); 1922var frames = builder.GetFrames().AsEnumerable(); 1946var frames = builder.GetFrames().AsEnumerable(); 1973var frames = builder.GetFrames().AsEnumerable(); 2011var frames = builder.GetFrames().AsEnumerable(); 2095builder.GetFrames().AsEnumerable(), 2118builder.GetFrames().AsEnumerable(), 2157builder.GetFrames().AsEnumerable(), 2197builder.GetFrames().AsEnumerable(),
RenderTreeDiffBuilderTest.cs (42)
819var diff = RenderTreeDiffBuilder.ComputeDiff(renderer, batchBuilder, 0, oldTree.GetFrames(), newTree.GetFrames()); 925var removedEventHandlerFrame = oldTree.GetFrames().Array[2]; 1597var componentInstance = newTree.GetFrames().AsEnumerable().First().Component as FakeComponent; 1630RenderTreeDiffBuilder.ComputeDiff(renderer, batchBuilder, 0, renderTreeBuilder.GetFrames(), oldTree.GetFrames()); 1631var originalFakeComponentInstance = oldTree.GetFrames().Array[2].Component; 1632var originalFakeComponent2Instance = oldTree.GetFrames().Array[3].Component; 1636var newFrame1 = newTree.GetFrames().Array[2]; 1637var newFrame2 = newTree.GetFrames().Array[3]; 1661var oldAttributeFrame = oldTree.GetFrames().Array[1]; 1662var newAttributeFrame = newTree.GetFrames().Array[1]; 1688var oldAttributeFrame = oldTree.GetFrames().Array[1]; 1689var newAttributeFrame = newTree.GetFrames().Array[2]; 1716RenderTreeDiffBuilder.ComputeDiff(renderer, batchBuilder, 0, renderTree.GetFrames(), oldTree.GetFrames()); 1717var originalComponentInstance = (FakeComponent)oldTree.GetFrames().Array[0].Component; 1721var newComponentInstance = (FakeComponent)oldTree.GetFrames().Array[0].Component; 1771RenderTreeDiffBuilder.ComputeDiff(renderer, batchBuilder, 0, renderTreeBuilder.GetFrames(), oldTree.GetFrames()); 1772var originalComponentInstance = (CaptureSetParametersComponent)oldTree.GetFrames().Array[0].Component; 1777var newComponentInstance = (CaptureSetParametersComponent)oldTree.GetFrames().Array[0].Component; 1801RenderTreeDiffBuilder.ComputeDiff(renderer, batchBuilder, 0, renderTreeBuilder.GetFrames(), oldTree.GetFrames()); 1802var componentInstance = (CaptureSetParametersComponent)oldTree.GetFrames().Array[0].Component; 1827RenderTreeDiffBuilder.ComputeDiff(renderer, batchBuilder, 0, renderTree.GetFrames(), oldTree.GetFrames()); 1833RenderTreeDiffBuilder.ComputeDiff(renderer, batchBuilder, 0, oldTree.GetFrames(), newTree.GetFrames()); 2334for (var i = 0; oldTree.GetFrames().Count < oldTree.GetFrames().Array.Length; i++) 2339for (var i = 0; newTree.GetFrames().Count < newTree.GetFrames().Array.Length; i++) 2367for (var i = 0; oldTree.GetFrames().Count < oldTree.GetFrames().Array.Length; i++) 2372for (var i = 0; newTree.GetFrames().Count < newTree.GetFrames().Array.Length; i++) 2418var emptyFrames = renderTreeBuilder.GetFrames(); 2419var oldFrames = from.GetFrames(); 2428var diff = RenderTreeDiffBuilder.ComputeDiff(renderer, batchBuilder, componentId, from.GetFrames(), to.GetFrames()); 2437=> builder.GetFrames().AsEnumerable()
RenderTreeUpdaterTest.cs (9)
24var frames = builder.GetFrames(); 52var frames = builder.GetFrames(); 84var frames = builder.GetFrames(); 114var frames = builder.GetFrames(); 119frames = builder.GetFrames(); 139var frames = builder.GetFrames(); 144frames = builder.GetFrames(); 169var frames = builder.GetFrames(); 174frames = builder.GetFrames();