ControllerModel Class¶
Constructors¶
-
ControllerModel
(Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel)¶ Arguments: public ControllerModel(ControllerModel other)
-
ControllerModel
(System.Reflection.TypeInfo, System.Collections.Generic.IReadOnlyList<System.Object>) Arguments: - controllerType (System.Reflection.TypeInfo) –
- attributes (System.Collections.Generic.IReadOnlyList{System.Object}) –
public ControllerModel(TypeInfo controllerType, IReadOnlyList<object> attributes)
-
Properties¶
-
ActionConstraints
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IActionConstraintMetadata} public IList<IActionConstraintMetadata> ActionConstraints { get; }
-
Actions
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ApplicationModels.ActionModel} public IList<ActionModel> Actions { get; }
-
ApiExplorer
()¶ Gets or sets the [Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel](Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel.yml) for this controller.
Return type: Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel public ApiExplorerModel ApiExplorer { get; set; }
-
Application
()¶ Return type: Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel public ApplicationModel Application { get; set; }
-
AttributeRoutes
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel} public IList<AttributeRouteModel> AttributeRoutes { get; }
-
Attributes
()¶ Return type: System.Collections.Generic.IReadOnlyList{System.Object} public IReadOnlyList<object> Attributes { get; }
-
ControllerName
()¶ Return type: System.String public string ControllerName { get; set; }
-
ControllerProperties
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel} public IList<PropertyModel> ControllerProperties { get; }
-
ControllerType
()¶ Return type: System.Reflection.TypeInfo public TypeInfo ControllerType { get; }
-
Filters
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IFilter} public IList<IFilter> Filters { get; }
-
Properties
()¶ Gets a set of properties associated with the controller. These properties will be copied to [Microsoft.AspNet.Mvc.ActionDescriptor.Properties]().
Return type: System.Collections.Generic.IDictionary{System.Object,System.Object} public IDictionary<object, object> Properties { get; }
-
RouteConstraints
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IRouteConstraintProvider} public IList<IRouteConstraintProvider> RouteConstraints { get; }
-