ControllerActionDescriptor Class

Definition

A descriptor for an action of a controller.

public ref class ControllerActionDescriptor : Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor
public class ControllerActionDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor
type ControllerActionDescriptor = class
    inherit ActionDescriptor
Public Class ControllerActionDescriptor
Inherits ActionDescriptor
Inheritance
ControllerActionDescriptor

Constructors

ControllerActionDescriptor()

Properties

ActionConstraints

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

(Inherited from ActionDescriptor)
ActionName

The name of the action.

AttributeRouteInfo

Gets or sets the AttributeRouteInfo.

(Inherited from ActionDescriptor)
BoundProperties

The set of properties which are model bound.

(Inherited from ActionDescriptor)
ControllerName

The name of the controller.

ControllerTypeInfo

The TypeInfo of the controller..

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.

(Inherited from ActionDescriptor)
FilterDescriptors

The set of filters associated with this action.

(Inherited from ActionDescriptor)
Id

Gets an id which uniquely identifies the action.

(Inherited from ActionDescriptor)
MethodInfo

The MethodInfo.

Parameters

The set of parameters associated with this action.

(Inherited from ActionDescriptor)
Properties

Stores arbitrary metadata properties associated with the ActionDescriptor.

(Inherited from ActionDescriptor)
RouteValues

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

(Inherited from ActionDescriptor)

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