ActionModel Class

Definition

An application model for controller actions.

public ref class ActionModel : Microsoft::AspNetCore::Mvc::ApplicationModels::IApiExplorerModel, Microsoft::AspNetCore::Mvc::ApplicationModels::ICommonModel, Microsoft::AspNetCore::Mvc::ApplicationModels::IFilterModel
public class ActionModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel
type ActionModel = class
    interface ICommonModel
    interface IPropertyModel
    interface IFilterModel
    interface IApiExplorerModel
type ActionModel = class
    interface IApiExplorerModel
    interface ICommonModel
    interface IPropertyModel
    interface IFilterModel
Public Class ActionModel
Implements IApiExplorerModel, ICommonModel, IFilterModel
Inheritance
ActionModel
Implements

Constructors

ActionModel(ActionModel)

Copy constructor for ActionModel.

ActionModel(MethodInfo, IReadOnlyList<Object>)

Initializes a new instance of ActionModel.

Properties

ActionMethod

Gets the action MethodInfo.

ActionName

Gets the action name.

ApiExplorer

Gets or sets the ApiExplorerModel for this action.

Attributes

Gets the attributes associated with the action.

Controller

Gets or sets the ControllerModel.

DisplayName

Gets the action display name.

Filters

Gets the IFilterMetadata instances associated with the action.

Parameters

Gets the parameters associated with this action.

Properties

Gets a set of properties associated with the action. These properties will be copied to Properties.

RouteParameterTransformer

Gets or sets an IOutboundParameterTransformer that will be used to transform built-in route parameters such as action, controller, and area as well as additional parameters specified by RouteValues into static segments in the route template.

RouteValues

Gets a collection of route values that must be present in the Values for the corresponding action to be selected.

Selectors

Gets the SelectorModel instances.

Explicit Interface Implementations

ICommonModel.MemberInfo
ICommonModel.Name

Applies to