Share via


INamedRouter Interface

Definition

An interface for an IRouter with a name.

public interface class INamedRouter : Microsoft::AspNetCore::Routing::IRouter
public interface INamedRouter : Microsoft.AspNetCore.Routing.IRouter
type INamedRouter = interface
    interface IRouter
Public Interface INamedRouter
Implements IRouter
Derived
Implements

Properties

Name

The name of the router. Can be null.

Methods

GetVirtualPath(VirtualPathContext)

Returns the URL that is associated with the route details provided in context

(Inherited from IRouter)
RouteAsync(RouteContext)

Asynchronously routes based on the current context.

(Inherited from IRouter)

Applies to