CachedDataAnnotationsModelMetadata Constructores

Definición

Sobrecargas

CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>)

Inicializa una nueva instancia de la CachedDataAnnotationsModelMetadata clase mediante el prototipo y el descriptor de acceso del modelo.

CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>)

Inicializa una nueva instancia de la CachedDataAnnotationsModelMetadata clase mediante el proveedor, el tipo de contenedor, el tipo de modelo, el nombre de propiedad y los atributos.

CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>)

Inicializa una nueva instancia de la CachedDataAnnotationsModelMetadata clase mediante el prototipo y el descriptor de acceso del modelo.

public CachedDataAnnotationsModelMetadata (System.Web.Mvc.CachedDataAnnotationsModelMetadata prototype, Func<object> modelAccessor);
new System.Web.Mvc.CachedDataAnnotationsModelMetadata : System.Web.Mvc.CachedDataAnnotationsModelMetadata * Func<obj> -> System.Web.Mvc.CachedDataAnnotationsModelMetadata
Public Sub New (prototype As CachedDataAnnotationsModelMetadata, modelAccessor As Func(Of Object))

Parámetros

prototype
CachedDataAnnotationsModelMetadata

Prototipo.

modelAccessor
Func<Object>

Descriptor de acceso del modelo.

Se aplica a

CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>)

Inicializa una nueva instancia de la CachedDataAnnotationsModelMetadata clase mediante el proveedor, el tipo de contenedor, el tipo de modelo, el nombre de propiedad y los atributos.

public CachedDataAnnotationsModelMetadata (System.Web.Mvc.CachedDataAnnotationsModelMetadataProvider provider, Type containerType, Type modelType, string propertyName, System.Collections.Generic.IEnumerable<Attribute> attributes);
new System.Web.Mvc.CachedDataAnnotationsModelMetadata : System.Web.Mvc.CachedDataAnnotationsModelMetadataProvider * Type * Type * string * seq<Attribute> -> System.Web.Mvc.CachedDataAnnotationsModelMetadata
Public Sub New (provider As CachedDataAnnotationsModelMetadataProvider, containerType As Type, modelType As Type, propertyName As String, attributes As IEnumerable(Of Attribute))

Parámetros

containerType
Type

Tipo de contenedor.

modelType
Type

Tipo de modelo.

propertyName
String

Nombre de la propiedad.

attributes
IEnumerable<Attribute>

Atributos.

Se aplica a