CachedDataAnnotationsModelMetadata Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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.
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
El proveedor.
- containerType
- Type
Tipo de contenedor.
- modelType
- Type
Tipo de modelo.
- propertyName
- String
Nombre de la propiedad.
- attributes
- IEnumerable<Attribute>
Atributos.