CachedDataAnnotationsModelMetadata Constructor (CachedDataAnnotationsModelMetadataProvider, Type, Type, String, IEnumerable(Attribute))

Initializes a new instance of the CachedDataAnnotationsModelMetadata class using the provider, container type, model type, property name and attributes.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public function CachedDataAnnotationsModelMetadata(
	provider : CachedDataAnnotationsModelMetadataProvider, 
	containerType : Type, 
	modelType : Type, 
	propertyName : String, 
	attributes : IEnumerable<Attribute>
)

Parameters

provider
Type: System.Web.Mvc.CachedDataAnnotationsModelMetadataProvider

The provider.

containerType
Type: System.Type

The container type.

modelType
Type: System.Type

The model type.

propertyName
Type: System.String

The property name.

attributes
Type: System.Collections.Generic.IEnumerable(Attribute)

The attributes.

Show: