ApplicationModel Class

Definition

A model for configuring controllers in an MVC application.

C#
public class ApplicationModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel, Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel
Inheritance
ApplicationModel
Implements

Constructors

ApplicationModel()

Initializes a new instance of ApplicationModel.

Properties

ApiExplorer

Gets or sets the ApiExplorerModel for the application.

Controllers

Gets the ControllerModel instances.

Filters

Gets the global IFilterMetadata instances.

Properties

Gets a set of properties associated with all actions. These properties will be copied to Properties.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0