Share via


PropertyModel Classe

Définition

Type utilisé pour représenter une propriété dans un 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
Héritage
PropertyModel
Héritage
PropertyModel
Implémente

Constructeurs

PropertyModel(PropertyInfo, IReadOnlyList<Object>)

Crée une instance de PropertyModel.

PropertyModel(PropertyModel)

Crée un instance de à partir d’un PropertyModel donnéPropertyModel.

Propriétés

Attributes

Obtient tous les attributs qui sont annotés sur la propriété .

BindingInfo

Obtient ou définit le BindingInfo associé à ce modèle.

BindingInfo

L’BindingInfoopérateur

(Hérité de ParameterModelBase)
Controller

Obtient ou définit l’objet ControllerModel associé à .PropertyModel

Name

Nom.

(Hérité de ParameterModelBase)
ParameterType

Type.

(Hérité de ParameterModelBase)
Properties

Propriétés.

PropertyInfo

L’PropertyInfoopérateur

PropertyName

Nom de la propriété.

Implémentations d’interfaces explicites

ICommonModel.MemberInfo

Type utilisé pour représenter une propriété dans un ControllerModel.

ICommonModel.Name

Type utilisé pour représenter une propriété dans un ControllerModel.

S’applique à