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