LocalizedModelMetaDataProvider.CreateMetadata Method
- Namespace:
- Weavy.Web.Localization
- Assembly:
- Weavy.Web.dll
CreateMetadata(IEnumerable, Type, Func
Gets the metadata for the specified property.
protected override ModelMetadata CreateMetadata(IEnumerable<Attribute> attributes, Type containerType, Func<object> modelAccessor, Type modelType, string propertyName)
Parameters
- attributes
- System.Collections.Generic.IEnumerable
- container
Type - System.Type
- model
Accessor - System.Func
- model
Type - System.Type
- property
Name - string
Returns
System.Web.Mvc.ModelMetadata