ActionModel Class¶
Constructors¶
-
ActionModel
(Microsoft.AspNet.Mvc.ApplicationModels.ActionModel)¶ Arguments: public ActionModel(ActionModel other)
-
ActionModel
(System.Reflection.MethodInfo, System.Collections.Generic.IReadOnlyList<System.Object>) Arguments: - actionMethod (System.Reflection.MethodInfo) –
- attributes (System.Collections.Generic.IReadOnlyList{System.Object}) –
public ActionModel(MethodInfo actionMethod, IReadOnlyList<object> attributes)
-
Properties¶
-
ActionConstraints
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IActionConstraintMetadata} public IList<IActionConstraintMetadata> ActionConstraints { get; }
-
ActionMethod
()¶ Return type: System.Reflection.MethodInfo public MethodInfo ActionMethod { get; }
-
ActionName
()¶ Return type: System.String public string ActionName { get; set; }
-
ApiExplorer
()¶ Gets or sets the [Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel](Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel.yml) for this action.
Return type: Microsoft.AspNet.Mvc.ApplicationModels.ApiExplorerModel public ApiExplorerModel ApiExplorer { get; set; }
-
AttributeRouteModel
()¶ Return type: Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel public AttributeRouteModel AttributeRouteModel { get; set; }
-
Attributes
()¶ Return type: System.Collections.Generic.IReadOnlyList{System.Object} public IReadOnlyList<object> Attributes { get; }
-
Controller
()¶ Return type: Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel public ControllerModel Controller { get; set; }
-
Filters
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IFilter} public IList<IFilter> Filters { get; }
-
HttpMethods
()¶ Return type: System.Collections.Generic.IList{System.String} public IList<string> HttpMethods { get; }
-
Parameters
()¶ Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel} public IList<ParameterModel> Parameters { get; }
-
Properties
()¶ Gets a set of properties associated with the action. 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; }
-