CachedDataAnnotationsModelMetadata Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>) |
Prototip ve model erişimcisini CachedDataAnnotationsModelMetadata kullanarak sınıfının yeni bir örneğini başlatır. |
| CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>) |
Sağlayıcı, kapsayıcı türü, model türü, özellik adı ve öznitelikleri kullanarak sınıfın yeni bir örneğini CachedDataAnnotationsModelMetadata başlatır. |
CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadata, Func<Object>)
Prototip ve model erişimcisini CachedDataAnnotationsModelMetadata kullanarak sınıfının yeni bir örneğini başlatır.
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))
Parametreler
- prototype
- CachedDataAnnotationsModelMetadata
Prototip.
Şunlara uygulanır
CachedDataAnnotationsModelMetadata(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable<Attribute>)
Sağlayıcı, kapsayıcı türü, model türü, özellik adı ve öznitelikleri kullanarak sınıfın yeni bir örneğini CachedDataAnnotationsModelMetadata başlatır.
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))
Parametreler
Sağlayıcı.
- containerType
- Type
Kapsayıcı türü.
- modelType
- Type
Model türü.
- propertyName
- String
Özellik adı.
- attributes
- IEnumerable<Attribute>
Öznitelikler.