Router Class

Definition

A component that supplies route data corresponding to the current navigation state.

public ref class Router : IDisposable, Microsoft::AspNetCore::Components::IComponent, Microsoft::AspNetCore::Components::IHandleAfterRender
public class Router : IDisposable, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender
type Router = class
    interface IComponent
    interface IHandleAfterRender
    interface IDisposable
Public Class Router
Implements IComponent, IDisposable, IHandleAfterRender
Inheritance
Router
Implements

Constructors

Router()

Properties

AdditionalAssemblies

Gets or sets a collection of additional assemblies that should be searched for components that can match URIs.

AppAssembly

Gets or sets the assembly that should be searched for components matching the URI.

Found

Gets or sets the content to display when a match is found for the requested route.

NotFound

Gets or sets the content to display when no match is found for the requested route.

Methods

Attach(RenderHandle)
Dispose()
SetParametersAsync(ParameterView)

Explicit Interface Implementations

IHandleAfterRender.OnAfterRenderAsync()

Applies to