Table of Contents

Class PageUrlRouteContext

Namespace
Trellis.Asp
Assembly
Trellis.Asp.dll

Describes the named destination of a pagination URL.

public sealed class PageUrlRouteContext
Inheritance
PageUrlRouteContext
Inherited Members
Extension Methods

Properties

Candidates

Link-enabled destinations with equivalent URL generation, allowing non-URL MVC selector metadata to differ.

public IReadOnlyList<Endpoint> Candidates { get; }

Property Value

IReadOnlyList<Endpoint>

HttpContext

The request generating the pagination link.

public HttpContext HttpContext { get; }

Property Value

HttpContext

RouteName

The name of the destination route.

public string RouteName { get; }

Property Value

string

RouteValues

The per-link copy of the callback's route values. Mutations affect URL generation without changing the callback's original dictionary.

public RouteValueDictionary RouteValues { get; }

Property Value

RouteValueDictionary