Dela via


PropertyModel Class

Definition

A type which is used to represent a property in a ControllerModel.

public ref class PropertyModel : Microsoft::AspNetCore::Mvc::ApplicationModels::IBindingModel, Microsoft::AspNetCore::Mvc::ApplicationModels::ICommonModel
public ref class PropertyModel : Microsoft::AspNetCore::Mvc::ApplicationModels::ParameterModelBase, Microsoft::AspNetCore::Mvc::ApplicationModels::ICommonModel
public class PropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel
public class PropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase, Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel
type PropertyModel = class
    interface ICommonModel
    interface IPropertyModel
    interface IBindingModel
type PropertyModel = class
    inherit ParameterModelBase
    interface ICommonModel
    interface IPropertyModel
    interface IBindingModel
type PropertyModel = class
    inherit ParameterModelBase
    interface IBindingModel
    interface ICommonModel
    interface IPropertyModel
Public Class PropertyModel
Implements IBindingModel, ICommonModel
Public Class PropertyModel
Inherits ParameterModelBase
Implements ICommonModel
Inheritance
PropertyModel
Inheritance
PropertyModel
Implements

Constructors

PropertyModel(PropertyInfo, IReadOnlyList<Object>)

Creates a new instance of PropertyModel.

PropertyModel(PropertyModel)

Creates a new instance of PropertyModel from a given PropertyModel.

Properties

Attributes

Gets any attributes which are annotated on the property.

BindingInfo

Gets or sets the BindingInfo associated with this model.

BindingInfo

The BindingInfo.

(Inherited from ParameterModelBase)
Controller

Gets or sets the ControllerModel this PropertyModel is associated with.

Name

The name.

(Inherited from ParameterModelBase)
ParameterType

The type.

(Inherited from ParameterModelBase)
Properties

The properties.

PropertyInfo

The PropertyInfo.

PropertyName

The name of the property.

Explicit Interface Implementations

ICommonModel.MemberInfo
ICommonModel.Name

Applies to