80 references to RenderMode
BasicTestApp (1)
PreserveStateService.cs (1)
19_persistingSubscription = _componentApplicationState.RegisterOnPersisting(PersistState, RenderMode.InteractiveAuto);
Microsoft.AspNetCore.Components.Endpoints (7)
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (1)
83RegisterPersistentComponentStateServiceCollectionExtensions.AddPersistentServiceRegistration<AntiforgeryStateProvider>(services, RenderMode.InteractiveAuto);
Discovery\RazorComponentApplication.cs (4)
46set.Add(RenderMode.InteractiveServer); 49set.Add(RenderMode.InteractiveWebAssembly); 52set.Add(RenderMode.InteractiveServer); 53set.Add(RenderMode.InteractiveWebAssembly);
Rendering\EndpointHtmlRenderer.cs (1)
123componentApplicationLifetime.SetPlatformRenderMode(RenderMode.InteractiveAuto);
src\Components\Shared\src\ResourceCollectionProvider.cs (1)
43}, RenderMode.InteractiveWebAssembly);
Microsoft.AspNetCore.Components.Endpoints.Tests (50)
EndpointHtmlRendererTest.cs (36)
153var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), RenderMode.InteractiveWebAssembly, ParameterView.Empty); 267RenderMode.InteractiveWebAssembly, 317RenderMode.InteractiveWebAssembly, 414var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), RenderMode.InteractiveServer, ParameterView.Empty); 458var server = await renderer.PrerenderComponentAsync(httpContext, typeof(GreetingComponent), RenderMode.InteractiveServer, parameters); 459var client = await renderer.PrerenderComponentAsync(httpContext, typeof(GreetingComponent), RenderMode.InteractiveWebAssembly, parameters); 611var result = await renderer.PrerenderComponentAsync(httpContext, typeof(GreetingComponent), RenderMode.InteractiveServer, parameters); 662var result = await renderer.PrerenderComponentAsync(httpContext, typeof(GreetingComponent), RenderMode.InteractiveServer, parameters); 1278RenderMode.InteractiveServer, 1279RenderMode.InteractiveWebAssembly 1316var declaredRenderModesMetadata = new ConfiguredRenderModesMetadata([RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly]); 1338"server" => RenderMode.InteractiveServer, 1339"wasm" => RenderMode.InteractiveWebAssembly, 1340"auto" => RenderMode.InteractiveAuto, 1344var declaredRenderModesMetadata = new ConfiguredRenderModesMetadata([RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly]); 1392"server" => RenderMode.InteractiveServer, 1393"wasm" => RenderMode.InteractiveWebAssembly, 1394"auto" => RenderMode.InteractiveAuto, 1436var declaredRenderModesMetadata = new ConfiguredRenderModesMetadata([RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly]); 1461"server" => RenderMode.InteractiveServer, 1462"wasm" => RenderMode.InteractiveWebAssembly, 1463"auto" => RenderMode.InteractiveAuto, 1466var declaredRenderModesMetadata = new ConfiguredRenderModesMetadata([RenderMode.InteractiveServer, RenderMode.InteractiveWebAssembly]); 1517"server" => RenderMode.InteractiveServer, 1518"wasm" => RenderMode.InteractiveWebAssembly, 1519"auto" => RenderMode.InteractiveAuto, 1525"server" => RenderMode.InteractiveServer, 1526"wasm" => RenderMode.InteractiveWebAssembly, 1527"auto" => RenderMode.InteractiveAuto, 1701State.RegisterOnPersisting(PersistState, RenderMode.InteractiveServer); 1704State.RegisterOnPersisting(PersistState, RenderMode.InteractiveWebAssembly); 1707State.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 (4)
Builder\ServerRazorComponentsEndpointConventionBuilderExtensions.cs (1)
19/// Configures the application to support the <see cref="RenderMode.InteractiveServer"/> render mode.
Circuits\CircuitFactory.cs (1)
76appLifetime.SetPlatformRenderMode(RenderMode.InteractiveServer);
Circuits\CircuitHost.cs (1)
771appLifetime.SetPlatformRenderMode(RenderMode.InteractiveServer);
Circuits\RemoteRenderer.cs (1)
67protected override IComponentRenderMode? GetComponentRenderMode(IComponent component) => RenderMode.InteractiveServer;
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\RenderBatchWriterTest.cs (1)
218RenderTreeFrame.ComponentRenderModeFrame(136, RenderMode.InteractiveAuto),
Microsoft.AspNetCore.Components.WebAssembly (4)
Hosting\WebAssemblyHost.cs (1)
139manager.SetPlatformRenderMode(RenderMode.InteractiveWebAssembly);
Hosting\WebAssemblyHostBuilder.cs (1)
316RegisterPersistentComponentStateServiceCollectionExtensions.AddPersistentServiceRegistration<AntiforgeryStateProvider>(Services, RenderMode.InteractiveWebAssembly);
Rendering\WebAssemblyRenderer.cs (1)
79protected override IComponentRenderMode? GetComponentRenderMode(IComponent component) => RenderMode.InteractiveWebAssembly;
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,