1 write to RenderMode
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\SSRRenderModeBoundary.cs (1)
44RenderMode = renderMode;
8 references to RenderMode
Microsoft.AspNetCore.Components.Endpoints (8)
Rendering\EndpointHtmlRenderer.Prerendering.cs (1)
55return ssrRenderBoundary.RenderMode;
Rendering\SSRRenderModeBoundary.cs (7)
111if (RenderMode is InteractiveWebAssemblyRenderMode) 146throw new InvalidOperationException($"Cannot pass RenderFragment<T> parameter '{name}' to component '{_componentType.Name}' with rendermode '{RenderMode.GetType().Name}'. Templated content can't be passed across a rendermode boundary, because it is arbitrary code and cannot be serialized."); 155throw new InvalidOperationException($"Cannot pass the parameter '{name}' to component '{_componentType.Name}' with rendermode '{RenderMode.GetType().Name}'. This is because the parameter is of the delegate type '{value.GetType()}', which is arbitrary code and cannot be serialized."); 183var marker = RenderMode switch 188_ => throw new UnreachableException($"Unknown render mode {RenderMode.GetType().FullName}"), 191if (RenderMode is InteractiveServerRenderMode or InteractiveAutoRenderMode) 201if (RenderMode is InteractiveWebAssemblyRenderMode or InteractiveAutoRenderMode)