Initial commit
This commit is contained in:
21
Template.Shared/InteractiveRenderSettings.cs
Normal file
21
Template.Shared/InteractiveRenderSettings.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
|
||||
namespace Template.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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user