3 instantiations of RenderFragmentCapture
Microsoft.AspNetCore.Components.Endpoints (3)
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
403return new RenderFragmentCapture(slice);
Rendering\SSRRenderModeBoundary.cs (1)
129var capture = new RenderFragmentCapture(rf);
src\aspnetcore\src\Components\Shared\src\RenderFragmentCapture.cs (1)
78var innerCapture = new RenderFragmentCapture(innerRf);
15 references to RenderFragmentCapture
Microsoft.AspNetCore.Components.Endpoints (15)
Rendering\CacheViewTextWriter.cs (2)
89public void CreateLiveCachedComponent(Type componentType, IComponentRenderMode? renderMode, RenderFragmentCapture capture, ILogger renderFragmentSerializationLogger) 157private static void ThrowIfLiveCachedComponentHasRenderFragmentParameter(Type liveCachedComponentType, RenderFragmentCapture capture)
Rendering\EndpointHtmlRenderer.Streaming.cs (2)
323var liveCachedComponentCapture = TryCaptureLiveCachedComponentParameterFrames(componentState) 386private RenderFragmentCapture? TryCaptureLiveCachedComponentParameterFrames(EndpointComponentState liveCachedComponentState)
Rendering\SSRRenderModeBoundary.cs (3)
33private Dictionary<string, RenderFragmentCapture>? _topLevelCaptures; 129var capture = new RenderFragmentCapture(rf); 251if (_topLevelCaptures is null || !_topLevelCaptures.TryGetValue(name, out var capture))
src\aspnetcore\src\Components\Shared\src\RenderFragmentCapture.cs (3)
15private readonly Dictionary<int, RenderFragmentCapture> _childCaptures = new(); 29public IReadOnlyDictionary<int, RenderFragmentCapture> ChildCaptures => _childCaptures; 78var innerCapture = new RenderFragmentCapture(innerRf);
src\aspnetcore\src\Components\Shared\src\RenderFragmentSerializer.cs (5)
18/// Converts the captured render tree frames from a <see cref="RenderFragmentCapture"/> into a 22RenderFragmentCapture capture, 41RenderFragmentCapture currentCapture, 178RenderFragmentCapture currentCapture, 186if (!currentCapture.ChildCaptures.TryGetValue(frameIndex, out var nestedCapture))