CachedDataAnnotationsModelMetadata Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
| CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>) |
Menginisialisasi instans CachedDataAnnotationsModelMetadata baru kelas menggunakan prototipe dan pengaktor model. |
| CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>) |
Menginisialisasi instans CachedDataAnnotationsModelMetadata baru kelas menggunakan penyedia, jenis kontainer, jenis model, nama properti, dan atribut. |
CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>)
Menginisialisasi instans CachedDataAnnotationsModelMetadata baru kelas menggunakan prototipe dan pengaktor model.
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))
Parameter
- prototype
- CachedDataAnnotationsModelMetadata
Prototipe.
Berlaku untuk
CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>)
Menginisialisasi instans CachedDataAnnotationsModelMetadata baru kelas menggunakan penyedia, jenis kontainer, jenis model, nama properti, dan atribut.
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))
Parameter
Penyedia.
- containerType
- Type
Jenis kontainer.
- modelType
- Type
Jenis model.
- propertyName
- String
Nama properti.
- attributes
- IEnumerable<Attribute>
Atributnya.