23 references to RenderMode
Microsoft.AspNetCore.Mvc.TagHelpers (10)
ComponentTagHelper.cs (10)
10
using RenderMode = Microsoft.AspNetCore.Mvc.Rendering.
RenderMode
;
26
private
RenderMode
? _renderMode;
56
/// Gets or sets the <see cref="Rendering.
RenderMode
"/>
59
public
RenderMode
RenderMode
66
case
RenderMode
.Server:
67
case
RenderMode
.ServerPrerendered:
68
case
RenderMode
.Static:
69
case
RenderMode
.WebAssembly:
70
case
RenderMode
.WebAssemblyPrerendered:
79
typeof(
RenderMode
).FullName),
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
ComponentTagHelperTest.cs (1)
29
RenderMode = Rendering.
RenderMode
.Static,
Microsoft.AspNetCore.Mvc.ViewFeatures (12)
Rendering\HtmlHelperComponentExtensions.cs (12)
22
/// <param name="renderMode">The <see cref="
RenderMode
"/> for the component.</param>
24
public static Task<IHtmlContent> RenderComponentAsync<TComponent>(this IHtmlHelper htmlHelper,
RenderMode
renderMode) where TComponent : IComponent
33
/// <param name="renderMode">The <see cref="
RenderMode
"/> for the component.</param>
37
RenderMode
renderMode,
48
/// <param name="renderMode">The <see cref="
RenderMode
"/> for the component.</param>
52
RenderMode
renderMode,
70
internal static IComponentRenderMode MapRenderMode(
RenderMode
renderMode) => renderMode switch
72
RenderMode
.Static => null,
73
RenderMode
.Server => new InteractiveServerRenderMode(prerender: false),
74
RenderMode
.ServerPrerendered => Components.Web.RenderMode.InteractiveServer,
75
RenderMode
.WebAssembly => new InteractiveWebAssemblyRenderMode(prerender: false),
76
RenderMode
.WebAssemblyPrerendered => Components.Web.RenderMode.InteractiveWebAssembly,