RouteCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Supports managing a collection for multiple routes.
public ref class RouteCollection : Microsoft::AspNetCore::Routing::IRouteCollection, Microsoft::AspNetCore::Routing::IRouter
public class RouteCollection : Microsoft.AspNetCore.Routing.IRouteCollection, Microsoft.AspNetCore.Routing.IRouter
type RouteCollection = class
interface IRouteCollection
interface IRouter
Public Class RouteCollection
Implements IRouteCollection, IRouter
- Inheritance
-
RouteCollection
- Implements
Constructors
RouteCollection() |
Properties
Count |
Gets the total number of routes registered in the collection. |
Item[Int32] |
Gets the route at a given index. |
Methods
Add(IRouter) |
Appends the collection of routes defined in |
GetVirtualPath(VirtualPathContext) |
Returns the URL that is associated with the route details provided in |
RouteAsync(RouteContext) |
Asynchronously routes based on the current |