Class RenderModeBoundary
public class RenderModeBoundary : ErrorBoundary
- Inheritance
-
objectComponentBaseErrorBoundaryBaseErrorBoundaryRenderModeBoundary
Properties
ModuleState
[Parameter]
public Module ModuleState { get; set; }
Property Value
PageState
[Parameter]
public PageState PageState { get; set; }
Property Value
SiteState
[Parameter]
public SiteState SiteState { get; set; }
Property Value
Methods
AddModuleMessage(string, MessageType)
public void AddModuleMessage(string message, MessageType type)
Parameters
message
stringtype
MessageType
AddModuleMessage(string, MessageType, string)
public void AddModuleMessage(string message, MessageType type, string position)
Parameters
message
stringtype
MessageTypeposition
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
ExceptionThe 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()