IRouter Interface

Definition

Interface for implementing a router.

C#
public interface IRouter
Derived

Methods

GetVirtualPath(VirtualPathContext)

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

RouteAsync(RouteContext)

Asynchronously routes based on the current context.

Applies to

Proizvod Verzije
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0