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)
102
new ModelBinderAttribute {
BinderType
= typeof(ComplexObjectModelBinder), Name = "Test" },
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinderAttribute.cs (1)
51
BinderType
= binderType;
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (4)
17
new ModelBinderAttribute() {
BinderType
= typeof(HeaderModelBinder) },
18
new ModelBinderAttribute() {
BinderType
= typeof(ArrayModelBinder<string>) },
41
new ModelBinderAttribute() {
BinderType
= typeof(HeaderModelBinder) },
42
new ModelBinderAttribute() {
BinderType
= typeof(ArrayModelBinder<string>) },
ModelBinding\Metadata\ModelBinderAttributeTest.cs (2)
29
BinderType
= typeof(ByteArrayModelBinder),
58
BinderType
= typeof(ByteArrayModelBinder)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ComplexRecordIntegrationTest.cs (1)
3021
private 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)
210
private 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,
86
if (_bindingSource == null &&
BinderType
!= null)