2 references to GetTypeDescriptor
System.Web (2)
ModelBinding\AssociatedValidatorProvider.cs (2)
31
ICustomTypeDescriptor typeDescriptor =
GetTypeDescriptor
(metadata.ContainerType);
46
return GetValidators(metadata, context,
GetTypeDescriptor
(metadata.ModelType).GetAttributes().Cast<Attribute>());