CachedAssociatedMetadataProvider<TModelMetadata>::CreateMetadata Method
When overridden in a derived class, creates the cached model metadata for the property.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
protected: virtual ModelMetadata^ CreateMetadata( IEnumerable<Attribute^>^ attributes, Type^ containerType, Func<Object^>^ modelAccessor, Type^ modelType, String^ propertyName ) override sealed
Parameters
- attributes
- Type: System.Collections.Generic::IEnumerable<Attribute>
The attributes.
- containerType
- Type: System::Type
The container type.
- modelAccessor
- Type: System::Func<Object>
The model accessor.
- modelType
- Type: System::Type
The model type.
- propertyName
- Type: System::String
The property name.
Show: