11 instantiations of SSRRenderModeBoundary
Microsoft.AspNetCore.Components.Endpoints (2)
Rendering\EndpointHtmlRenderer.Prerendering.cs (2)
41return new SSRRenderModeBoundary(_httpContext, componentType, renderMode); 123: new SSRRenderModeBoundary(_httpContext, componentType, prerenderMode);
Microsoft.AspNetCore.Components.Endpoints.Tests (9)
EndpointHtmlRendererTest.cs (2)
1539var ssrBoundary = new SSRRenderModeBoundary(httpContext, typeof(PersistenceComponent), persistenceMode); 1604var ssrBoundary = new SSRRenderModeBoundary(httpContext, typeof(PersistenceComponent), configuredMode);
SSRRenderModeBoundaryTest.cs (7)
23new SSRRenderModeBoundary(httpContext, typeof(TestComponent), new InteractiveServerRenderMode()); 24new SSRRenderModeBoundary(httpContext, typeof(TestComponent), new InteractiveWebAssemblyRenderMode()); 25new SSRRenderModeBoundary(httpContext, typeof(TestComponent), new InteractiveAutoRenderMode()); 36var ex = Assert.Throws<InvalidOperationException>(() => new SSRRenderModeBoundary( 50var ex = Assert.Throws<InvalidOperationException>(() => new SSRRenderModeBoundary( 64var ex = Assert.Throws<InvalidOperationException>(() => new SSRRenderModeBoundary( 78var ex = Assert.Throws<InvalidOperationException>(() => new SSRRenderModeBoundary(
11 references to SSRRenderModeBoundary
Microsoft.AspNetCore.Components.Endpoints (9)
Rendering\EndpointComponentState.cs (1)
42if (ParentComponentState != null && ParentComponentState.Component is SSRRenderModeBoundary boundary)
Rendering\EndpointHtmlRenderer.Prerendering.cs (7)
28var closestRenderModeBoundary = parentComponentId.HasValue 48var ssrRenderBoundary = GetClosestRenderModeBoundary(componentState); 58private SSRRenderModeBoundary? GetClosestRenderModeBoundary(int componentId) 64private static SSRRenderModeBoundary? GetClosestRenderModeBoundary(ComponentState componentState) 70if (currentComponentState.Component is SSRRenderModeBoundary boundary) 304if (boundaryComponentState is null || boundaryComponentState.Component is not SSRRenderModeBoundary boundary) 326frame.Component is SSRRenderModeBoundary candidate &&
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
277if (componentState.Component is SSRRenderModeBoundary boundary)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
EndpointHtmlRendererTest.cs (2)
1539var ssrBoundary = new SSRRenderModeBoundary(httpContext, typeof(PersistenceComponent), persistenceMode); 1604var ssrBoundary = new SSRRenderModeBoundary(httpContext, typeof(PersistenceComponent), configuredMode);