Delen via


RouteContext Class

Definition

A context object for RouteAsync(RouteContext).

public ref class RouteContext
public class RouteContext
type RouteContext = class
Public Class RouteContext
Inheritance
RouteContext

Constructors

RouteContext(HttpContext)

Creates a new instance of RouteContext for the provided httpContext.

Properties

Handler

Gets or sets the handler for the request. An IRouter should set Handler when it matches.

HttpContext

Gets the HttpContext associated with the current request.

RouteData

Gets or sets the RouteData associated with the current context.

Applies to