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