62 writes to BinderModelName
ApplicationModelWebSite (1)
Controllers\ParameterModelController.cs (1)
27model.BindingInfo.BinderModelName = "CoolMetadata";
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\BindingInfo.cs (3)
34BinderModelName = other.BinderModelName; 121bindingInfo.BinderModelName = binderModelNameAttribute.Name; 236BinderModelName = modelMetadata.BinderModelName;
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBindingHelper.cs (1)
256BinderModelName = modelMetadata.BinderModelName,
Microsoft.AspNetCore.Mvc.Core.Test (10)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1098BinderModelName = metadata.BinderModelName,
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1262BinderModelName = metadata.BinderModelName,
ModelBinding\Binders\HeaderModelBinderTests.cs (1)
381BinderModelName = metadata.BinderModelName,
ModelBinding\ModelBinderFactoryTest.cs (2)
289BinderModelName = "expected name", 294BinderModelName = "expected name",
ModelBinding\ParameterBinderTest.cs (3)
35BinderModelName = "bindingInfoName", 130BinderModelName = string.Empty, 658BinderModelName = "id",
ModelBinding\TestModelBinderProviderContext.cs (2)
33BinderModelName = Metadata.BinderModelName, 48BinderModelName = Metadata.BinderModelName,
Microsoft.AspNetCore.Mvc.IntegrationTests (47)
ActionParametersIntegrationTest.cs (4)
220BinderModelName = "prefix" 265BinderModelName = "prefix" 311BinderModelName = "prefix" 356BinderModelName = "prefix"
ArrayModelBinderIntegrationTest.cs (2)
63BinderModelName = "prefix", 223BinderModelName = "prefix",
BinderTypeBasedModelBinderIntegrationTest.cs (2)
96BinderModelName = "CustomParameter" 287BinderModelName = "CustomParameter"
BodyValidationIntegrationTests.cs (9)
363BinderModelName = "CustomParameter", 404BinderModelName = "CustomParameter", 462BinderModelName = "CustomParameter", 519BinderModelName = "CustomParameter", 568BinderModelName = "CustomParameter", 612BinderModelName = "CustomParameter", 657BinderModelName = "CustomParameter", 708BinderModelName = "CustomParameter", 767BinderModelName = "CustomParameter",
ByteArrayModelBinderIntegrationTest.cs (2)
79BinderModelName = "CustomParameter", 112BinderModelName = "CustomParameter",
CancellationTokenModelBinderIntegrationTest.cs (2)
26BinderModelName = "CustomParameter", 101BinderModelName = "CustomParameter",
CollectionModelBinderIntegrationTest.cs (3)
73BinderModelName = "prefix", 221BinderModelName = "prefix", 351BinderModelName = "prefix",
ComplexRecordIntegrationTest.cs (3)
2176BinderModelName = "customParameter" 2284BinderModelName = "customParameter" 2432BinderModelName = "customParameter"
ComplexTypeIntegrationTestBase.cs (3)
2338BinderModelName = "customParameter" 2450BinderModelName = "customParameter" 2602BinderModelName = "customParameter"
DictionaryModelBinderIntegrationTest.cs (3)
154BinderModelName = "prefix", 706BinderModelName = "prefix", 750BinderModelName = "prefix",
FormCollectionModelBindingIntegrationTest.cs (2)
84BinderModelName = "CustomParameter", 128BinderModelName = "CustomParameter",
FormFileModelBindingIntegrationTest.cs (2)
617BinderModelName = "CustomParameter", 665BinderModelName = "CustomParameter",
HeaderModelBinderIntegrationTest.cs (4)
36BinderModelName = "CustomParameter", 75BinderModelName = "prefix", 269BinderModelName = "CustomParameter", 314BinderModelName = "prefix",
KeyValuePairModelBinderIntegrationTest.cs (2)
237BinderModelName = "prefix", 400BinderModelName = "prefix",
ServicesModelBinderIntegrationTest.cs (1)
23BinderModelName = "CustomParameter",
SimpleTypeModelBinderIntegrationTest.cs (1)
28BinderModelName = "CustomParameter",
ValidationIntegrationTests.cs (1)
1782BinderModelName = "CustomParameter",
ValidationWithRecordIntegrationTests.cs (1)
1585BinderModelName = "CustomParameter",
27 references to BinderModelName
ApplicationModelWebSite (1)
Controllers\ParameterModelController.cs (1)
18return ControllerContext.ActionDescriptor.Parameters[0].BindingInfo.BinderModelName;
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\BindingInfo.cs (2)
34BinderModelName = other.BinderModelName; 233if (BinderModelName == null && modelMetadata.BinderModelName != null)
Microsoft.AspNetCore.Mvc.Abstractions.Test (4)
ModelBinding\BindingInfoTest.cs (4)
26Assert.Same("Test", bindingInfo.BinderModelName); 79Assert.Same("PropertyPrefix", bindingInfo.BinderModelName); 120Assert.Same("Test", bindingInfo.BinderModelName); 169Assert.Same("Different", bindingInfo.BinderModelName);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
531BinderModelName = bindingInfo?.BinderModelName;
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\DefaultModelBindingContext.cs (1)
209var binderModelName = bindingInfo?.BinderModelName ?? metadata.BinderModelName;
ModelBinding\ParameterBinder.cs (2)
115var parameterModelName = parameter.BindingInfo?.BinderModelName ?? metadata.BinderModelName; 214parameter.BindingInfo?.BinderModelName == null)
Microsoft.AspNetCore.Mvc.Core.Test (15)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (13)
239Assert.Equal("top", bindingInfo.BinderModelName); 260Assert.Null(bindingInfo.BinderModelName); 281Assert.Equal("foo", bindingInfo.BinderModelName); 663Assert.Null(bindingInfo.BinderModelName); 684Assert.Equal("top", bindingInfo.BinderModelName); 725Assert.Equal("gps", bindingInfo.BinderModelName); 746Assert.Null(bindingInfo.BinderModelName); 767Assert.Null(bindingInfo.BinderModelName); 788Assert.Equal("ids", bindingInfo.BinderModelName); 809Assert.Null(bindingInfo.BinderModelName); 830Assert.Equal("top", bindingInfo.BinderModelName); 871Assert.Equal("gps", bindingInfo.BinderModelName); 896Assert.Null(bindingInfo.BinderModelName);
ModelBinding\ModelBinderFactoryTest.cs (2)
361Assert.Equal(expectedInfo.BinderModelName, context.BindingInfo.BinderModelName, StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
921Assert.Equal("personId", p.BindingInfo.BinderModelName);