Dela via


ControllerModel Constructors

Definition

Overloads

ControllerModel(ControllerModel)

Initializes a new instance of ControllerModel.

ControllerModel(TypeInfo, IReadOnlyList<Object>)

Initializes a new instance of ControllerModel.

ControllerModel(ControllerModel)

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

Initializes a new instance of 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)

Parameters

other
ControllerModel

The other controller model.

Applies to

ControllerModel(TypeInfo, IReadOnlyList<Object>)

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

Initializes a new instance of 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))

Parameters

controllerType
TypeInfo

The type of the controller.

attributes
IReadOnlyList<Object>

The attributes.

Applies to