Share via


IRouteCollection Interface

Definition

Interface for a router that supports appending new routes.

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

Methods

Add(IRouter)

Appends the collection of routes defined in router.

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