Dela via


PagePropertyModel Constructors

Definition

Overloads

PagePropertyModel(PagePropertyModel)

Creates a new instance of PagePropertyModel from a given PagePropertyModel.

PagePropertyModel(PropertyInfo, IReadOnlyList<Object>)

Creates a new instance of PagePropertyModel.

PagePropertyModel(PagePropertyModel)

Source:
PagePropertyModel.cs
Source:
PagePropertyModel.cs
Source:
PagePropertyModel.cs

Creates a new instance of PagePropertyModel from a given PagePropertyModel.

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

Parameters

other
PagePropertyModel

The PagePropertyModel which needs to be copied.

Applies to

PagePropertyModel(PropertyInfo, IReadOnlyList<Object>)

Source:
PagePropertyModel.cs
Source:
PagePropertyModel.cs
Source:
PagePropertyModel.cs

Creates a new instance of PagePropertyModel.

public:
 PagePropertyModel(System::Reflection::PropertyInfo ^ propertyInfo, System::Collections::Generic::IReadOnlyList<System::Object ^> ^ attributes);
public PagePropertyModel (System.Reflection.PropertyInfo propertyInfo, System.Collections.Generic.IReadOnlyList<object> attributes);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel : System.Reflection.PropertyInfo * System.Collections.Generic.IReadOnlyList<obj> -> Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel
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.

Applies to