共用方式為


ActionModel 建構函式

定義

多載

ActionModel(ActionModel)

的複製建構函式 ActionModel

ActionModel(MethodInfo, IReadOnlyList<Object>)

初始化 ActionModel 的新執行個體。

ActionModel(ActionModel)

來源:
ActionModel.cs
來源:
ActionModel.cs
來源:
ActionModel.cs

的複製建構函式 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)

參數

other
ActionModel

要複製的 ActionModel

適用於

ActionModel(MethodInfo, IReadOnlyList<Object>)

來源:
ActionModel.cs
來源:
ActionModel.cs
來源:
ActionModel.cs

初始化 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))

參數

actionMethod
MethodInfo

動作 MethodInfo

attributes
IReadOnlyList<Object>

與動作相關聯的屬性。

適用於