2 overrides of CreateMetadata
System.Web (2)
ModelBinding\DataAnnotationsModelMetadataProvider.cs (1)
11
protected override ModelMetadata
CreateMetadata
(IEnumerable<Attribute> attributes, Type containerType, Func<object> modelAccessor, Type modelType, string propertyName) {
ModelBinding\EmptyModelMetadataProvider.cs (1)
6
protected override ModelMetadata
CreateMetadata
(IEnumerable<Attribute> attributes, Type containerType, Func<object> modelAccessor, Type modelType, string propertyName) {
2 references to CreateMetadata
System.Web (2)
ModelBinding\AssociatedMetadataProvider.cs (2)
63
ModelMetadata result =
CreateMetadata
(attributes, containerType, modelAccessor, propertyDescriptor.PropertyType, propertyDescriptor.Name);
74
ModelMetadata result =
CreateMetadata
(attributes, null /* containerType */, modelAccessor, modelType, null /* propertyName */);