Files
TaskHybrid/salesbook.Shared/InteractiveRenderSettings.cs
2025-06-26 10:08:21 +02:00

22 lines
686 B
C#

using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
namespace salesbook.Shared;
public static class InteractiveRenderSettings
{
public static IComponentRenderMode? InteractiveServer { get; set; } =
RenderMode.InteractiveServer;
public static IComponentRenderMode? InteractiveAuto { get; set; } =
RenderMode.InteractiveAuto;
public static IComponentRenderMode? InteractiveWebAssembly { get; set; } =
RenderMode.InteractiveWebAssembly;
public static void ConfigureBlazorHybridRenderModes()
{
InteractiveServer = null;
InteractiveAuto = null;
InteractiveWebAssembly = null;
}
}