PropertyModel 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
PropertyModel(PropertyModel) |
Creates a new instance of PropertyModel from a given PropertyModel. |
PropertyModel(PropertyInfo, IReadOnlyList<Object>) |
Creates a new instance of PropertyModel. |
PropertyModel(PropertyModel)
- Source:
- PropertyModel.cs
- Source:
- PropertyModel.cs
- Source:
- PropertyModel.cs
Creates a new instance of PropertyModel from a given PropertyModel.
public:
PropertyModel(Microsoft::AspNetCore::Mvc::ApplicationModels::PropertyModel ^ other);
public PropertyModel (Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel other);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel
Public Sub New (other As PropertyModel)
Parameters
- other
- PropertyModel
The PropertyModel which needs to be copied.
Applies to
PropertyModel(PropertyInfo, IReadOnlyList<Object>)
- Source:
- PropertyModel.cs
- Source:
- PropertyModel.cs
- Source:
- PropertyModel.cs
Creates a new instance of PropertyModel.
public:
PropertyModel(System::Reflection::PropertyInfo ^ propertyInfo, System::Collections::Generic::IReadOnlyList<System::Object ^> ^ attributes);
public PropertyModel (System.Reflection.PropertyInfo propertyInfo, System.Collections.Generic.IReadOnlyList<object> attributes);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel : System.Reflection.PropertyInfo * System.Collections.Generic.IReadOnlyList<obj> -> Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel
Public Sub New (propertyInfo As PropertyInfo, attributes As IReadOnlyList(Of Object))
Parameters
- propertyInfo
- PropertyInfo
The PropertyInfo for the underlying property.
- attributes
- IReadOnlyList<Object>
Any attributes which are annotated on the property.