12 references to Mode
Microsoft.AspNetCore.Components.Endpoints (12)
DependencyInjection\InvokedRenderModes.cs (2)
8
public InvokedRenderModes(
Mode
mode)
13
public
Mode
Value { get; set; }
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (10)
120
case InvokedRenderModes.
Mode
.None:
122
case InvokedRenderModes.
Mode
.ServerAndWebAssembly:
125
case InvokedRenderModes.
Mode
.Server:
128
case InvokedRenderModes.
Mode
.WebAssembly:
163
var
currentInvocation = mode switch
165
InteractiveServerRenderMode => InvokedRenderModes.
Mode
.Server,
166
InteractiveWebAssemblyRenderMode => InvokedRenderModes.
Mode
.WebAssembly,
180
invokedMode.Value = InvokedRenderModes.
Mode
.ServerAndWebAssembly;
194
internal static InvokedRenderModes.
Mode
GetPersistStateRenderMode(HttpContext httpContext)
198
: InvokedRenderModes.
Mode
.None;