78 references to RenderMode
BasicTestApp (1)
PreserveStateService.cs (1)
19_persistingSubscription = _componentApplicationState.RegisterOnPersisting(PersistState, RenderMode.InteractiveAuto);
Microsoft.AspNetCore.Components.Endpoints (6)
Discovery\RazorComponentApplication.cs (4)
46set.Add(RenderMode.InteractiveServer); 49set.Add(RenderMode.InteractiveWebAssembly); 52set.Add(RenderMode.InteractiveServer); 53set.Add(RenderMode.InteractiveWebAssembly);
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
29}, RenderMode.InteractiveAuto);
src\Components\Shared\src\ResourceCollectionProvider.cs (1)
43}, RenderMode.InteractiveWebAssembly);
Microsoft.AspNetCore.Components.Endpoints.Tests (50)
EndpointHtmlRendererTest.cs (36)
80var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), RenderMode.InteractiveWebAssembly, ParameterView.Empty); 191RenderMode.InteractiveWebAssembly, 240RenderMode.InteractiveWebAssembly, 336var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), RenderMode.InteractiveServer, ParameterView.Empty); 380var server = await renderer.PrerenderComponentAsync(httpContext, typeof(GreetingComponent), RenderMode.InteractiveServer, parameters); 381var client = await renderer.PrerenderComponentAsync(httpContext, typeof(GreetingComponent), RenderMode.InteractiveWebAssembly, parameters); 533var result = await renderer.PrerenderComponentAsync(httpContext, typeof(GreetingComponent), RenderMode.InteractiveServer, parameters); 584var result = await renderer.PrerenderComponentAsync(httpContext, typeof(GreetingComponent), RenderMode.InteractiveServer, parameters); 1197RenderMode.InteractiveServer, 1198RenderMode.InteractiveWebAssembly 1235var declaredRenderModesMetadata = new ConfiguredRenderModesMetadata([RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly]); 1257"server" => RenderMode.InteractiveServer, 1258"wasm" => RenderMode.InteractiveWebAssembly, 1259"auto" => RenderMode.InteractiveAuto, 1263var declaredRenderModesMetadata = new ConfiguredRenderModesMetadata([RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly]); 1311"server" => RenderMode.InteractiveServer, 1312"wasm" => RenderMode.InteractiveWebAssembly, 1313"auto" => RenderMode.InteractiveAuto, 1355var declaredRenderModesMetadata = new ConfiguredRenderModesMetadata([RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly]); 1380"server" => RenderMode.InteractiveServer, 1381"wasm" => RenderMode.InteractiveWebAssembly, 1382"auto" => RenderMode.InteractiveAuto, 1385var declaredRenderModesMetadata = new ConfiguredRenderModesMetadata([RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly]); 1436"server" => RenderMode.InteractiveServer, 1437"wasm" => RenderMode.InteractiveWebAssembly, 1438"auto" => RenderMode.InteractiveAuto, 1444"server" => RenderMode.InteractiveServer, 1445"wasm" => RenderMode.InteractiveWebAssembly, 1446"auto" => RenderMode.InteractiveAuto, 1612State.RegisterOnPersisting(PersistState, RenderMode.InteractiveServer); 1615State.RegisterOnPersisting(PersistState, RenderMode.InteractiveWebAssembly); 1618State.RegisterOnPersisting(PersistState, RenderMode.InteractiveAuto);
RazorComponentEndpointDataSourceTest.cs (14)
59new [] { RenderMode.InteractiveServer }, 66new [] { RenderMode.InteractiveWebAssembly }, 73new IComponentRenderMode [] { RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly }, 88new [] { RenderMode.InteractiveServer }, 95new [] { RenderMode.InteractiveWebAssembly }, 102new IComponentRenderMode [] { RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly }, 116new [] { RenderMode.InteractiveServer }, 124new [] { RenderMode.InteractiveWebAssembly }, 131new IComponentRenderMode [] { RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly }, 175new IComponentRenderMode[] { RenderMode.InteractiveServer }, 196new IComponentRenderMode[] { RenderMode.InteractiveWebAssembly },
Microsoft.AspNetCore.Components.Server (3)
Builder\ServerRazorComponentsEndpointConventionBuilderExtensions.cs (1)
19/// Configures the application to support the <see cref="RenderMode.InteractiveServer"/> render mode.
Circuits\RemoteRenderer.cs (1)
67protected override IComponentRenderMode? GetComponentRenderMode(IComponent component) => RenderMode.InteractiveServer;
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
29}, RenderMode.InteractiveAuto);
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\RenderBatchWriterTest.cs (1)
218RenderTreeFrame.ComponentRenderModeFrame(136, RenderMode.InteractiveAuto),
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
29}, RenderMode.InteractiveAuto);
Microsoft.AspNetCore.Components.WebAssembly (3)
Rendering\WebAssemblyRenderer.cs (1)
79protected override IComponentRenderMode? GetComponentRenderMode(IComponent component) => RenderMode.InteractiveWebAssembly;
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
29}, RenderMode.InteractiveAuto);
src\Components\Shared\src\ResourceCollectionProvider.cs (1)
43}, RenderMode.InteractiveWebAssembly);
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
AuthenticationStateSerializer.cs (1)
25_subscription = persistentComponentState.RegisterOnPersisting(OnPersistingAsync, RenderMode.InteractiveWebAssembly);
Builder\WebAssemblyRazorComponentsEndpointConventionBuilderExtensions.cs (1)
23/// Configures the application to support the <see cref="RenderMode.InteractiveWebAssembly"/> render mode.
Microsoft.AspNetCore.Mvc.TagHelpers.Test (9)
PersistComponentStateTagHelperTest.cs (9)
22using RenderMode = Microsoft.AspNetCore.Components.Web.RenderMode; 95}, RenderMode.InteractiveWebAssembly); 114EndpointHtmlRenderer.UpdateSaveStateRenderMode(tagHelper.ViewContext.HttpContext, RenderMode.InteractiveWebAssembly); 125}, RenderMode.InteractiveWebAssembly); 154}, RenderMode.InteractiveServer); 196EndpointHtmlRenderer.UpdateSaveStateRenderMode(tagHelper.ViewContext.HttpContext, Components.Web.RenderMode.InteractiveServer); 207}, RenderMode.InteractiveServer); 228EndpointHtmlRenderer.UpdateSaveStateRenderMode(tagHelper.ViewContext.HttpContext, Components.Web.RenderMode.InteractiveServer); 229EndpointHtmlRenderer.UpdateSaveStateRenderMode(tagHelper.ViewContext.HttpContext, Components.Web.RenderMode.InteractiveWebAssembly);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Rendering\HtmlHelperComponentExtensions.cs (2)
74RenderMode.ServerPrerendered => Components.Web.RenderMode.InteractiveServer, 76RenderMode.WebAssemblyPrerendered => Components.Web.RenderMode.InteractiveWebAssembly,