ParameterModel 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
ParameterModel(ParameterModel) |
Initializes a new ParameterModel. |
ParameterModel(ParameterInfo, IReadOnlyList<Object>) |
Initializes a new ParameterModel. |
ParameterModel(ParameterModel)
- Source:
- ParameterModel.cs
- Source:
- ParameterModel.cs
Initializes a new ParameterModel.
public:
ParameterModel(Microsoft::AspNetCore::Mvc::ApplicationModels::ParameterModel ^ other);
public ParameterModel (Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel other);
new Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel
Public Sub New (other As ParameterModel)
Parameters
- other
- ParameterModel
The parameter model to copy.
Applies to
ParameterModel(ParameterInfo, IReadOnlyList<Object>)
- Source:
- ParameterModel.cs
- Source:
- ParameterModel.cs
Initializes a new ParameterModel.
public:
ParameterModel(System::Reflection::ParameterInfo ^ parameterInfo, System::Collections::Generic::IReadOnlyList<System::Object ^> ^ attributes);
public ParameterModel (System.Reflection.ParameterInfo parameterInfo, System.Collections.Generic.IReadOnlyList<object> attributes);
new Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel : System.Reflection.ParameterInfo * System.Collections.Generic.IReadOnlyList<obj> -> Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel
Public Sub New (parameterInfo As ParameterInfo, attributes As IReadOnlyList(Of Object))
Parameters
- parameterInfo
- ParameterInfo
The parameter info.
- attributes
- IReadOnlyList<Object>
The attributes.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for