Table of Contents

Class RenderModeBoundary

Namespace
Oqtane.UI
Assembly
Oqtane.Client.dll
public class RenderModeBoundary : ErrorBoundary
Inheritance
object
ComponentBase
ErrorBoundaryBase
ErrorBoundary
RenderModeBoundary

Properties

ModuleState

[Parameter]
public Module ModuleState { get; set; }

Property Value

Module

PageState

[Parameter]
public PageState PageState { get; set; }

Property Value

PageState

SiteState

[Parameter]
public SiteState SiteState { get; set; }

Property Value

SiteState

Methods

AddModuleMessage(string, MessageType)

public void AddModuleMessage(string message, MessageType type)

Parameters

message string
type MessageType

AddModuleMessage(string, MessageType, string)

public void AddModuleMessage(string message, MessageType type, string position)

Parameters

message string
type MessageType
position string

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

DismissMessage()

public void DismissMessage()

HideProgressIndicator()

public void HideProgressIndicator()

OnErrorAsync(Exception)

Invoked by the base class when an error is being handled. The default implementation logs the error.

protected override Task OnErrorAsync(Exception exception)

Parameters

exception Exception

The System.Exception being handled.

Returns

Task

OnParametersSet()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

protected override void OnParametersSet()

Recover()

public void Recover()

ShouldRender()

Returns a flag to indicate whether the component should render.

protected override bool ShouldRender()

Returns

bool

ShowProgressIndicator()

public void ShowProgressIndicator()