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