ActionModel Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ActionModel(ActionModel) |
Copy constructor for ActionModel. |
ActionModel(MethodInfo, IReadOnlyList<Object>) |
Initializes a new instance of ActionModel. |
ActionModel(ActionModel)
- Source:
- ActionModel.cs
- Source:
- ActionModel.cs
- Source:
- ActionModel.cs
Copy constructor for ActionModel.
public:
ActionModel(Microsoft::AspNetCore::Mvc::ApplicationModels::ActionModel ^ other);
public ActionModel (Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel other);
new Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel
Public Sub New (other As ActionModel)
Parameters
- other
- ActionModel
The ActionModel to copy.
Applies to
ActionModel(MethodInfo, IReadOnlyList<Object>)
- Source:
- ActionModel.cs
- Source:
- ActionModel.cs
- Source:
- ActionModel.cs
Initializes a new instance of ActionModel.
public:
ActionModel(System::Reflection::MethodInfo ^ actionMethod, System::Collections::Generic::IReadOnlyList<System::Object ^> ^ attributes);
public ActionModel (System.Reflection.MethodInfo actionMethod, System.Collections.Generic.IReadOnlyList<object> attributes);
new Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel : System.Reflection.MethodInfo * System.Collections.Generic.IReadOnlyList<obj> -> Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel
Public Sub New (actionMethod As MethodInfo, attributes As IReadOnlyList(Of Object))
Parameters
- actionMethod
- MethodInfo
The action MethodInfo.
- attributes
- IReadOnlyList<Object>
The attributes associated with the action.