Dela via


UrlActionContext Class

Definition

Context object to be used for the URLs that Action(UrlActionContext) generates.

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

Constructors

UrlActionContext()

Properties

Action

The name of the action method that Action(UrlActionContext) uses to generate URLs.

Controller

The name of the controller that Action(UrlActionContext) uses to generate URLs.

Fragment

The fragment for the URLs that Action(UrlActionContext) generates.

Host

The host name for the URLs that Action(UrlActionContext) generates.

Protocol

The protocol for the URLs that Action(UrlActionContext) generates, such as "http" or "https"

Values

The object that contains the route values that Action(UrlActionContext) uses to generate URLs.

Applies to