rename RenderMode class and adding usings
This commit is contained in:
		| @ -4,7 +4,7 @@ using Oqtane.Shared; | ||||
| 
 | ||||
| namespace Oqtane.UI | ||||
| { | ||||
|     public static class RenderMode | ||||
|     public static class InteractiveRenderMode | ||||
|     { | ||||
|         public static IComponentRenderMode GetInteractiveRenderMode(string runtime, bool prerender) | ||||
|         { | ||||
| @ -9,7 +9,7 @@ | ||||
| else | ||||
| { | ||||
|     <div>Render Mode: @ModuleState.RenderMode</div><br /> | ||||
|     <RenderModeBoundary ModuleState="@ModuleState" PageState="@PageState" SiteState="@SiteState" @rendermode="@RenderMode.GetInteractiveRenderMode(PageState.Site.Runtime, PageState.Site.Prerender)" /> | ||||
|     <RenderModeBoundary ModuleState="@ModuleState" PageState="@PageState" SiteState="@SiteState" @rendermode="InteractiveRenderMode.GetInteractiveRenderMode(PageState.Site.Runtime, PageState.Site.Prerender)" /> | ||||
| } | ||||
|  | ||||
| @code { | ||||
|  | ||||
| @ -1,5 +0,0 @@ | ||||
| @namespace Oqtane.UI | ||||
|  | ||||
| @code { | ||||
|     // panelayouts are deprecated - this component is included for backward compatibility | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 sbwalker
					sbwalker