1 type derived from InteractiveWebAssemblyRenderMode
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
SSRRenderModeBoundaryTest.cs (1)
100class WebAssemblyRenderModeSubclass : InteractiveWebAssemblyRenderMode { }
6 instantiations of InteractiveWebAssemblyRenderMode
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
EndpointHtmlRendererTest.cs (3)
57var result = await renderer.PrerenderComponentAsync(httpContext, typeof(SimpleComponent), new InteractiveWebAssemblyRenderMode(prerender: false), ParameterView.Empty); 119new InteractiveWebAssemblyRenderMode(prerender: false), 156new InteractiveWebAssemblyRenderMode(prerender: false),
SSRRenderModeBoundaryTest.cs (1)
24new SSRRenderModeBoundary(httpContext, typeof(TestComponent), new InteractiveWebAssemblyRenderMode());
Microsoft.AspNetCore.Components.Web (1)
RenderMode\RenderMode.cs (1)
21public static InteractiveWebAssemblyRenderMode InteractiveWebAssembly { get; } = new();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Rendering\HtmlHelperComponentExtensions.cs (1)
75RenderMode.WebAssembly => new InteractiveWebAssemblyRenderMode(prerender: false),
36 references to InteractiveWebAssemblyRenderMode
Microsoft.AspNetCore.Components.Endpoints (20)
Builder\RazorComponentDataSourceOptions.cs (3)
21(InteractiveWebAssemblyRenderMode, InteractiveWebAssemblyRenderMode) => true, 27InteractiveWebAssemblyRenderMode => 2,
Builder\ResourceCollectionConvention.cs (1)
28if (renderMode is InteractiveWebAssemblyRenderMode or InteractiveAutoRenderMode)
Discovery\ComponentInfo.cs (3)
59if (RenderMode is InteractiveWebAssemblyRenderMode { Prerender: var wasm }) 61var size = (nameof(InteractiveWebAssemblyRenderMode).Length - "RenderModeComparer".Length); 62return $"RenderModeComparer = {nameof(InteractiveWebAssemblyRenderMode)[0..size]}, Prerendered = {wasm}";
Discovery\RazorComponentApplication.cs (1)
48case InteractiveWebAssemblyRenderMode:
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (6)
45InteractiveWebAssemblyRenderMode => new PrerenderComponentApplicationStore(), 80var webAssembly = new CopyOnlyStore<InteractiveWebAssemblyRenderMode>(); 166InteractiveWebAssemblyRenderMode => InvokedRenderModes.Mode.WebAssembly, 189InteractiveWebAssemblyRenderMode { Prerender: true } => true, 238CopyOnlyStore<InteractiveWebAssemblyRenderMode> webassembly) 247public CopyOnlyStore<InteractiveWebAssemblyRenderMode> Webassembly { get; }
Rendering\SSRRenderModeBoundary.cs (5)
46InteractiveWebAssemblyRenderMode mode => mode.Prerender, 72if (renderMode is InteractiveWebAssemblyRenderMode || renderMode is InteractiveAutoRenderMode) 74AssertRenderModeIsConfigured<InteractiveWebAssemblyRenderMode>(componentType, renderMode, configuredModes, "AddInteractiveWebAssemblyRenderMode"); 168InteractiveWebAssemblyRenderMode webAssembly => ComponentMarker.Create(ComponentMarker.WebAssemblyMarkerType, webAssembly.Prerender, _markerKey), 183if (RenderMode is InteractiveWebAssemblyRenderMode or InteractiveAutoRenderMode)
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
73renderMode is null || renderMode is InteractiveWebAssemblyRenderMode || renderMode is InteractiveAutoRenderMode;
Microsoft.AspNetCore.Components.Endpoints.Tests (7)
EndpointHtmlRendererTest.cs (5)
1222case InteractiveWebAssemblyRenderMode: 1288case InteractiveWebAssemblyRenderMode: 1342case InteractiveWebAssemblyRenderMode: 1408case InteractiveWebAssemblyRenderMode: 1484case InteractiveWebAssemblyRenderMode:
RazorComponentEndpointDataSourceTest.cs (2)
261[TestRenderMode<InteractiveWebAssemblyRenderMode>] 287public override bool Supports(IComponentRenderMode renderMode) => renderMode is InteractiveWebAssemblyRenderMode or InteractiveAutoRenderMode;
Microsoft.AspNetCore.Components.Server (1)
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
73renderMode is null || renderMode is InteractiveWebAssemblyRenderMode || renderMode is InteractiveAutoRenderMode;
Microsoft.AspNetCore.Components.Web (3)
RenderMode\InteractiveWebAssemblyRenderMode.cs (2)
12/// Constructs an instance of <see cref="InteractiveWebAssemblyRenderMode"/>. 19/// Constructs an instance of <see cref="InteractiveWebAssemblyRenderMode"/>
RenderMode\RenderMode.cs (1)
21public static InteractiveWebAssemblyRenderMode InteractiveWebAssembly { get; } = new();
Microsoft.AspNetCore.Components.WebAssembly (2)
Rendering\WebAssemblyRenderer.cs (1)
190InteractiveWebAssemblyRenderMode or InteractiveAutoRenderMode => componentActivator.CreateInstance(componentType),
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
73renderMode is null || renderMode is InteractiveWebAssemblyRenderMode || renderMode is InteractiveAutoRenderMode;
Microsoft.AspNetCore.Components.WebAssembly.Server (3)
Builder\WebAssemblyRenderModeWithOptions.cs (1)
9internal class WebAssemblyRenderModeWithOptions(WebAssemblyComponentsEndpointOptions? options) : InteractiveWebAssemblyRenderMode
WebAssemblyEndpointProvider.cs (2)
21return renderMode is InteractiveWebAssemblyRenderMode 51renderMode is InteractiveWebAssemblyRenderMode or InteractiveAutoRenderMode;