TreeRouter Třída

Definice

Implementace IRouter směrování atributů.

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
Dědičnost
TreeRouter
Implementuje

Konstruktory

TreeRouter(UrlMatchingTree[], IEnumerable<OutboundRouteEntry>, UrlEncoder, ObjectPool<UriBuildingContext>, ILogger, ILogger, Int32)

Vytvoří novou instanci položky TreeRouter.

Pole

RouteGroupKey

Klíč používaný směrováním a výběrem akce ke shodě položky trasy atributu se skupinou popisovačů akcí.

Vlastnosti

Version

Získá verzi této trasy.

Metody

GetVirtualPath(VirtualPathContext)

Vrátí adresu URL přidruženou k podrobnostem trasy, které jsou uvedeny v části context

RouteAsync(RouteContext)

Asynchronní trasy založené na aktuálním context.

Platí pro