Dela via


ActionDescriptor Class

Definition

Describes an MVC action.

public ref class ActionDescriptor
public class ActionDescriptor
type ActionDescriptor = class
Public Class ActionDescriptor
Inheritance
ActionDescriptor
Derived

Constructors

ActionDescriptor()

Initializes a new instance of ActionDescriptor.

Properties

ActionConstraints

The set of constraints for this action. Must all be satisfied for the action to be selected.

AttributeRouteInfo

Gets or sets the AttributeRouteInfo.

BoundProperties

The set of properties which are model bound.

DisplayName

A friendly name for this action.

EndpointMetadata

Gets or sets the endpoint metadata for this action. This API is meant for infrastructure and should not be used by application code.

FilterDescriptors

The set of filters associated with this action.

Id

Gets an id which uniquely identifies the action.

Parameters

The set of parameters associated with this action.

Properties

Stores arbitrary metadata properties associated with the ActionDescriptor.

RouteValues

Gets or sets the collection of route values that must be provided by routing for the action to be selected.

Extension Methods

GetProperty<T>(ActionDescriptor)

Gets the value of a property from the Properties collection using the provided value of T as the key.

SetProperty<T>(ActionDescriptor, T)

Sets the value of an property in the Properties collection using the provided value of T as the key.

Applies to