ControllerModel 构造函数

定义

重载

ControllerModel(ControllerModel)

初始化 ControllerModel 的新实例。

ControllerModel(TypeInfo, IReadOnlyList<Object>)

初始化 ControllerModel 的新实例。

ControllerModel(ControllerModel)

Source:
ControllerModel.cs
Source:
ControllerModel.cs
Source:
ControllerModel.cs

初始化 ControllerModel 的新实例。

public:
 ControllerModel(Microsoft::AspNetCore::Mvc::ApplicationModels::ControllerModel ^ other);
public ControllerModel (Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel other);
new Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel
Public Sub New (other As ControllerModel)

参数

other
ControllerModel

另一个控制器模型。

适用于

ControllerModel(TypeInfo, IReadOnlyList<Object>)

Source:
ControllerModel.cs
Source:
ControllerModel.cs
Source:
ControllerModel.cs

初始化 ControllerModel 的新实例。

public:
 ControllerModel(System::Reflection::TypeInfo ^ controllerType, System::Collections::Generic::IReadOnlyList<System::Object ^> ^ attributes);
public ControllerModel (System.Reflection.TypeInfo controllerType, System.Collections.Generic.IReadOnlyList<object> attributes);
new Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel : System.Reflection.TypeInfo * System.Collections.Generic.IReadOnlyList<obj> -> Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel
Public Sub New (controllerType As TypeInfo, attributes As IReadOnlyList(Of Object))

参数

controllerType
TypeInfo

控制器的类型。

attributes
IReadOnlyList<Object>

属性。

适用于