語言

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
實作

建構函式

名稱 Description
ApplicationModel()

初始化 ApplicationModel 的新執行個體。

屬性

名稱 Description
ApiExplorer

取得或設定 ApiExplorerModel 應用程式的 。

Controllers

ControllerModel取得 實例。

Filters

取得全域 IFilterMetadata 實例。

Properties

取得與所有動作相關聯的一組屬性。 這些屬性會複製到 Properties 。

適用於