语言

ApplicationModel 类

定义

用于在 MVC 应用程序中配置控制器的模型。

public ref class ApplicationModel : Microsoft::AspNetCore::Mvc::ApplicationModels::IApiExplorerModel, Microsoft::AspNetCore::Mvc::ApplicationModels::IFilterModel, Microsoft::AspNetCore::Mvc::ApplicationModels::IPropertyModel
public class ApplicationModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel
type ApplicationModel = class
    interface IPropertyModel
    interface IFilterModel
    interface IApiExplorerModel
type ApplicationModel = class
    interface IApiExplorerModel
    interface IFilterModel
    interface IPropertyModel
Public Class ApplicationModel
Implements IApiExplorerModel, IFilterModel, IPropertyModel
继承
ApplicationModel
实现

构造函数

名称 说明
ApplicationModel()

初始化 ApplicationModel 的新实例。

属性

名称 说明
ApiExplorer

获取或设置 ApiExplorerModel 应用程序的 。

Controllers

获取 ControllerModel 实例。

Filters

获取全局 IFilterMetadata 实例。

Properties

获取与所有操作关联的一组属性。 这些属性将复制到 Properties。

适用于