ApplicationModel Class¶
- Namespace
Microsoft.AspNetCore.Mvc.ApplicationModels
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
[DebuggerDisplay("ApplicationModel: Controllers: {Controllers.Count}, Filters: {Filters.Count}")]
public class ApplicationModel : IPropertyModel, IFilterModel, IApiExplorerModel
-
class
Microsoft.AspNetCore.Mvc.ApplicationModels.
ApplicationModel
Constructors¶
-
ApplicationModel
()¶ public ApplicationModel()
-
Properties¶
-
Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel.
ApiExplorer
¶ Gets or sets the
Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel
for the application.Return type: Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel public ApiExplorerModel ApiExplorer { get; set; }
-
Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel.
Controllers
¶ Return type: System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel> public IList<ControllerModel> Controllers { get; }
-
Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel.
Filters
¶ Return type: System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> public IList<IFilterMetadata> Filters { get; }
-
Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel.
Properties
¶ Gets a set of properties associated with all actions. These properties will be copied to
Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor.Properties
.Return type: System.Collections.Generic.IDictionary<System.Object> public IDictionary<object, object> Properties { get; }
-