TreeRouter 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.
An IRouter implementation for attribute routing.
public ref class TreeRouter : Microsoft::AspNetCore::Routing::IRouter
public class TreeRouter : Microsoft.AspNetCore.Routing.IRouter
type TreeRouter = class
interface IRouter
Public Class TreeRouter
Implements IRouter
- Inheritance
-
TreeRouter
- Implements
Constructors
TreeRouter(UrlMatchingTree[], IEnumerable<OutboundRouteEntry>, UrlEncoder, ObjectPool<UriBuildingContext>, ILogger, ILogger, Int32) |
Creates a new instance of TreeRouter. |
Fields
RouteGroupKey |
Key used by routing and action selection to match an attribute route entry to a group of action descriptors. |
Properties
Version |
Gets the version of this route. |
Methods
GetVirtualPath(VirtualPathContext) |
Returns the URL that is associated with the route details provided in |
RouteAsync(RouteContext) |
Asynchronously routes based on the current |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for