CachedDataAnnotationsModelMetadata Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>) |
Inizializza una nuova istanza della CachedDataAnnotationsModelMetadata classe utilizzando la funzione di accesso prototipo e modello. |
| CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>) |
Inizializza una nuova istanza della CachedDataAnnotationsModelMetadata classe utilizzando il provider, il tipo di contenitore, il tipo di modello, il nome della proprietà e gli attributi. |
CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>)
Inizializza una nuova istanza della CachedDataAnnotationsModelMetadata classe utilizzando la funzione di accesso prototipo e modello.
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))
Parametri
- prototype
- CachedDataAnnotationsModelMetadata
Prototipo.
Si applica a
CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>)
Inizializza una nuova istanza della CachedDataAnnotationsModelMetadata classe utilizzando il provider, il tipo di contenitore, il tipo di modello, il nome della proprietà e gli attributi.
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))
Parametri
Provider.
- containerType
- Type
Tipo di contenitore.
- modelType
- Type
Tipo di modello.
- propertyName
- String
Nome della proprietà.
- attributes
- IEnumerable<Attribute>
Attributi.