RouteHandler Klasa

Definicja

Obsługuje implementację procedury obsługi wykonywanej dla danej trasy.

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
Dziedziczenie
RouteHandler
Implementuje

Konstruktory

RouteHandler(RequestDelegate)

Tworzy nowe RouteHandler wystąpienie.

Metody

GetRequestHandler(HttpContext, RouteData)

Pobiera element RequestDelegate do obsługi żądania na podstawie podanego routeDataelementu .

GetVirtualPath(VirtualPathContext)

Zwraca adres URL skojarzony ze szczegółami trasy podanymi w context

RouteAsync(RouteContext)

Asynchronicznie kieruje na podstawie bieżącego contextelementu .

Dotyczy