RouteHandler Sınıf

Tanım

Belirli bir yol için yürütülen bir işleyici uygulamayı destekler.

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
Devralma
RouteHandler
Uygulamalar

Oluşturucular

RouteHandler(RequestDelegate)

Yeni RouteHandler bir örnek oluşturur.

Yöntemler

GetRequestHandler(HttpContext, RouteData)

Sağlanan routeDataöğesine göre isteği işlemek için bir RequestDelegate alır.

GetVirtualPath(VirtualPathContext)

içinde sağlanan yol ayrıntılarıyla ilişkili URL'yi döndürür context

RouteAsync(RouteContext)

Zaman uyumsuz olarak geçerli contexttemel alır.

Şunlara uygulanır