Dela via


ControllerModel Class

Definition

A model for configuring controllers.

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

Constructors

ControllerModel(ControllerModel)

Initializes a new instance of ControllerModel.

ControllerModel(TypeInfo, IReadOnlyList<Object>)

Initializes a new instance of ControllerModel.

Properties

Actions

The actions on this controller.

ApiExplorer

Gets or sets the ApiExplorerModel for this controller.

Application

Gets or sets the ApplicationModel of this controller.

Attributes

The attributes of this controller.

ControllerName

Gets or sets the name of this controller.

ControllerProperties

The properties of this controller.

ControllerType

The type of this controller.

DisplayName

The DisplayName of this controller.

Filters

The filter metadata of this controller.

Properties

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

RouteValues

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

Selectors

The selector models of this controller.

Explicit Interface Implementations

ICommonModel.MemberInfo
ICommonModel.Name

Applies to