Table of Contents

Class Routes

Namespace
Oqtane.UI
Assembly
Oqtane.Client.dll
public class Routes : ComponentBase
Inheritance
object
ComponentBase
Routes

Properties

AntiForgeryToken

[Parameter]
public string AntiForgeryToken { get; set; }

Property Value

string

AuthorizationToken

[Parameter]
public string AuthorizationToken { get; set; }

Property Value

string

PageState

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

Property Value

PageState

Platform

[Parameter]
public string Platform { get; set; }

Property Value

string

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

OnAfterRender(bool)

Method invoked after each time the component has rendered interactively and the UI has finished updating (for example, after elements have been added to the browser DOM). Any Microsoft.AspNetCore.Components.ElementReference fields will be populated by the time this runs.

This method is not invoked during prerendering or server-side rendering, because those processes are not attached to any live browser DOM and are already complete before the DOM is updated.

protected override void OnAfterRender(bool firstRender)

Parameters

firstRender bool

Set to true if this is the first time Microsoft.AspNetCore.Components.ComponentBase.OnAfterRender(bool) has been invoked on this component instance; otherwise false.

Remarks

The Microsoft.AspNetCore.Components.ComponentBase.OnAfterRender(bool) and Microsoft.AspNetCore.Components.ComponentBase.OnAfterRenderAsync(bool) lifecycle methods are useful for performing interop, or interacting with values received from @ref. Use the firstRender parameter to ensure that initialization work is only performed once.

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.