9 writes to BinderType
Microsoft.AspNetCore.Mvc.Abstractions.Test (3)
ModelBinding\BindingInfoTest.cs (3)
109
metadata.
BinderType
= typeof(SimpleTypeModelBinder);
158
metadata.
BinderType
= typeof(SimpleTypeModelBinder);
182
metadata.
BinderType
= typeof(ComplexObjectModelBinder);
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (1)
36
context.BindingMetadata.
BinderType
= binderTypeAttribute.BinderType;
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\BinderTypeModelBinderTest.cs (1)
71
metadataProvider.ForType(modelType).BindingDetails(bd => bd.
BinderType
= binderType);
ModelBinding\DefaultModelBindingContextTest.cs (1)
33
d.
BinderType
= typeof(TestModelBinder);
ModelBinding\ModelBinderFactoryTest.cs (3)
304
BinderType
= typeof(WidgetIdBinder),
316
BinderType
= typeof(WidgetBinder),
347
binding.
BinderType
= bindingMetadata.BinderType;
4 references to BinderType
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
173
public override Type? BinderType => BindingMetadata.
BinderType
;
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (2)
31
Assert.Equal(typeof(HeaderModelBinder), context.BindingMetadata.
BinderType
);
55
Assert.Equal(typeof(HeaderModelBinder), context.BindingMetadata.
BinderType
);
ModelBinding\ModelBinderFactoryTest.cs (1)
347
binding.BinderType = bindingMetadata.
BinderType
;