1 override of GetMetadataForType
System.Web (1)
ModelBinding\AssociatedMetadataProvider.cs (1)
68
public override ModelMetadata
GetMetadataForType
(Func<object> modelAccessor, Type modelType) {
8 references to GetMetadataForType
System.Web (8)
ModelBinding\CollectionModelBinder`1.cs (2)
30
ModelMetadata = ModelMetadataProviders.Current.
GetMetadataForType
(null, typeof(TElement)),
81
ModelMetadata = ModelMetadataProviders.Current.
GetMetadataForType
(null, typeof(TElement)),
ModelBinding\KeyValuePairModelBinderUtil.cs (1)
7
ModelMetadata = metadataProvider.
GetMetadataForType
(null, typeof(TModel)),
ModelBinding\ModelMetadata.cs (1)
378
return metadataProvider.
GetMetadataForType
(modelAccessor, modelType);
ModelBinding\ModelValidationNode.cs (1)
140
ModelMetadata updatedMetadata = ModelMetadataProviders.Current.
GetMetadataForType
(() => model, ModelMetadata.ModelType);
ModelBinding\MutableObjectModelBinder.cs (1)
75
ModelMetadata = MetadataProvider.
GetMetadataForType
(() => originalComplexModel, typeof(ComplexModel)),
UI\Page.cs (1)
550
ModelMetadata = ModelMetadataProviders.Current.
GetMetadataForType
(() => model, typeof(TModel)),
UI\WebControls\ModelDataSourceView.cs (1)
1018
ModelMetadata = ModelMetadataProviders.Current.
GetMetadataForType
(null, parameterInfo.ParameterType),