Implemented interface member:
property
BinderType
Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata.BinderType
11 writes to BinderType
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
102new ModelBinderAttribute { BinderType = typeof(ComplexObjectModelBinder), Name = "Test" },
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinderAttribute.cs (1)
51BinderType = binderType;
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (4)
17new ModelBinderAttribute() { BinderType = typeof(HeaderModelBinder) }, 18new ModelBinderAttribute() { BinderType = typeof(ArrayModelBinder<string>) }, 41new ModelBinderAttribute() { BinderType = typeof(HeaderModelBinder) }, 42new ModelBinderAttribute() { BinderType = typeof(ArrayModelBinder<string>) },
ModelBinding\Metadata\ModelBinderAttributeTest.cs (2)
29BinderType = typeof(ByteArrayModelBinder), 58BinderType = typeof(ByteArrayModelBinder)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ComplexRecordIntegrationTest.cs (1)
3021private record TestInnerModel([ModelBinder(BinderType = typeof(NumberModelBinder))] decimal Rate);
ComplexTypeIntegrationTestBase.cs (1)
3234[ModelBinder(BinderType = typeof(NumberModelBinder))]
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Parameters.cs (1)
210private void ActionWithCustomBinder([ModelBinder(BinderType = typeof(CustomBinder))] Todo model) { }
2 references to BinderType
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinderAttribute.cs (2)
79/// If <see cref="BinderType"/> is <see langword="null"/>, defaults to <see langword="null"/>. Otherwise, 86if (_bindingSource == null && BinderType != null)