2 overrides of MetadataProvider
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBinderFactory.cs (1)
244
public override IModelMetadataProvider
MetadataProvider
{ get; }
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\TestModelBinderProviderContext.cs (1)
63
public override IModelMetadataProvider
MetadataProvider
{ get; }
5 references to MetadataProvider
Microsoft.AspNetCore.Mvc.Core (5)
ModelBinding\Binders\CollectionModelBinderProvider.cs (1)
58
var elementBinder = context.CreateBinder(context.
MetadataProvider
.GetMetadataForType(elementType));
ModelBinding\Binders\DictionaryModelBinderProvider.cs (2)
30
var keyBinder = context.CreateBinder(context.
MetadataProvider
.GetMetadataForType(keyType));
33
var valueBinder = context.CreateBinder(context.
MetadataProvider
.GetMetadataForType(valueType));
ModelBinding\Binders\KeyValuePairModelBinderProvider.cs (2)
27
var keyMetadata = context.
MetadataProvider
.GetMetadataForType(typeArguments[0]);
30
var valueMetadata = context.
MetadataProvider
.GetMetadataForType(typeArguments[1]);