CachedDataAnnotationsModelMetadataProvider.CreateMetadataPrototype Metodo
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.
Restituisce un contenitore di istanze prototipo della classe di metadati.
protected override System.Web.Mvc.CachedDataAnnotationsModelMetadata CreateMetadataPrototype(System.Collections.Generic.IEnumerable<Attribute> attributes, Type containerType, Type modelType, string propertyName);
override this.CreateMetadataPrototype : seq<Attribute> * Type * Type * string -> System.Web.Mvc.CachedDataAnnotationsModelMetadata
Protected Overrides Function CreateMetadataPrototype (attributes As IEnumerable(Of Attribute), containerType As Type, modelType As Type, propertyName As String) As CachedDataAnnotationsModelMetadata
Parametri
- attributes
- IEnumerable<Attribute>
Tipo di attributi.
- containerType
- Type
Tipo di contenitore.
- modelType
- Type
Tipo di modello.
- propertyName
- String
Nome della proprietà.
Restituisce
Contenitore di istanze prototipo della classe di metadati.