1 instantiation of ComponentMarker
Microsoft.AspNetCore.Components.Endpoints (1)
src\Shared\Components\ComponentMarker.cs (1)
64return new()
14 references to ComponentMarker
Microsoft.AspNetCore.Components.Endpoints (14)
DependencyInjection\ServerComponentSerializer.cs (1)
19public void SerializeInvocation(ref ComponentMarker marker, ServerComponentInvocationSequence invocationId, Type type, ParameterView parameters)
DependencyInjection\WebAssemblyComponentSerializer.cs (1)
11public static void SerializeInvocation(ref ComponentMarker marker, Type type, ParameterView parameters)
Rendering\EndpointHtmlRenderer.Streaming.cs (3)
266var marker = boundary.ToMarker(_httpContext, sequenceAndKey.Sequence, sequenceAndKey.Key); 269if (!_httpContext.Response.HasStarted && marker.Type is ComponentMarker.ServerMarkerType or ComponentMarker.AutoMarkerType)
Rendering\SSRRenderModeBoundary.cs (8)
155public ComponentMarker ToMarker(HttpContext httpContext, int sequence, object? componentKey) 165var marker = RenderMode switch 167InteractiveServerRenderMode server => ComponentMarker.Create(ComponentMarker.ServerMarkerType, server.Prerender, _markerKey), 168InteractiveWebAssemblyRenderMode webAssembly => ComponentMarker.Create(ComponentMarker.WebAssemblyMarkerType, webAssembly.Prerender, _markerKey), 169InteractiveAutoRenderMode auto => ComponentMarker.Create(ComponentMarker.AutoMarkerType, auto.Prerender, _markerKey),
src\Shared\Components\ComponentMarker.cs (1)
62public static ComponentMarker Create(string type, bool prerendered, ComponentMarkerKey? key)