2 overrides of CreateBinder
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBinderFactory.cs (1)
250
public override IModelBinder
CreateBinder
(ModelMetadata metadata)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\TestModelBinderProviderContext.cs (1)
67
public override IModelBinder
CreateBinder
(ModelMetadata metadata)
19 references to CreateBinder
Microsoft.AspNetCore.Mvc.Core (9)
ModelBinding\Binders\ArrayModelBinderProvider.cs (1)
26
var elementBinder = context.
CreateBinder
(context.Metadata.ElementMetadata);
ModelBinding\Binders\CollectionModelBinderProvider.cs (1)
58
var elementBinder = context.
CreateBinder
(context.MetadataProvider.GetMetadataForType(elementType));
ModelBinding\Binders\ComplexObjectModelBinderProvider.cs (2)
32
propertyBinders.Add(property, context.
CreateBinder
(property));
55
parameterBinders[i] = context.
CreateBinder
(boundConstructor.BoundConstructorParameters[i]);
ModelBinding\Binders\ComplexTypeModelBinderProvider.cs (1)
28
propertyBinders.Add(property, context.
CreateBinder
(property));
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)
28
var keyBinder = context.
CreateBinder
(keyMetadata);
31
var valueBinder = context.
CreateBinder
(valueMetadata);
Microsoft.AspNetCore.Mvc.Core.Test (9)
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1589
propertyBinders.Add(property, context.
CreateBinder
(property));
ModelBinding\ModelBinderFactoryTest.cs (8)
74
Assert.NotNull(c.
CreateBinder
(c.Metadata.Properties[nameof(Widget.Id)]));
149
Assert.NotNull(c.
CreateBinder
(c.Metadata.Properties[nameof(Widget.Id)]));
190
var binder = c.
CreateBinder
(c.Metadata.Properties[nameof(Employee.Manager)]);
403
var binder = c.
CreateBinder
(c.Metadata.Properties[nameof(Widget.Id)]);
464
var binder = c.
CreateBinder
(c.Metadata.Properties[nameof(Widget.Id)]);
528
inner = c.
CreateBinder
(c.Metadata.Properties[nameof(Widget.Id)]);
591
inner = c.
CreateBinder
(c.Metadata.Properties[nameof(Widget.Id)]);
601
innerInner = c.
CreateBinder
(c.Metadata);
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
ActionParametersIntegrationTest.cs (1)
1088
propertyBinders.Add(property, context.
CreateBinder
(property));