Class SiteRouter
public class SiteRouter : ComponentBase
- Inheritance
-
objectComponentBaseSiteRouter
Properties
OnStateChange
[Parameter]
public Action<PageState> OnStateChange { get; set; }
Property Value
- Action<PageState>
RenderMode
[Parameter]
public string RenderMode { get; set; }
Property Value
- string
Runtime
[Parameter]
public string Runtime { get; set; }
Property Value
- string
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
OnInitialized()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
protected override void OnInitialized()
OnParametersSetAsync()
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 Task OnParametersSetAsync()
Returns
- Task
A System.Threading.Tasks.Task representing any asynchronous operation.