Megosztás a következőn keresztül:


RouteHandler Class

Definition

Supports implementing a handler that executes for a given route.

public ref class RouteHandler : Microsoft::AspNetCore::Routing::IRouteHandler, Microsoft::AspNetCore::Routing::IRouter
public class RouteHandler : Microsoft.AspNetCore.Routing.IRouteHandler, Microsoft.AspNetCore.Routing.IRouter
type RouteHandler = class
    interface IRouteHandler
    interface IRouter
Public Class RouteHandler
Implements IRouteHandler, IRouter
Inheritance
RouteHandler
Implements

Constructors

RouteHandler(RequestDelegate)

Constructs a new RouteHandler instance.

Methods

GetRequestHandler(HttpContext, RouteData)

Gets a RequestDelegate to handle the request, based on the provided routeData.

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