184 writes to BindingInfo
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
DefaultApiDescriptionProviderTest.cs (4)
257
action.Parameters[0].
BindingInfo
= new BindingInfo()
286
action.Parameters[0].
BindingInfo
= new BindingInfo()
2316
BindingInfo
= bindingInfo,
2337
BindingInfo
= BindingInfo.GetBindingInfo(parameter.GetCustomAttributes().OfType<object>()),
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ControllerActionDescriptorBuilder.cs (2)
80
BindingInfo
= parameterModel.BindingInfo,
91
BindingInfo
= propertyModel.BindingInfo,
Microsoft.AspNetCore.Mvc.Core.Test (21)
Controllers\ControllerBinderDelegateProviderTest.cs (17)
38
BindingInfo
= new BindingInfo(),
149
BindingInfo
= new BindingInfo(),
191
BindingInfo
= new BindingInfo(),
233
BindingInfo
= new BindingInfo(),
432
BindingInfo
= new BindingInfo(),
623
BindingInfo
= new BindingInfo(),
662
BindingInfo
= new BindingInfo(),
702
BindingInfo
= new BindingInfo() { BindingSource = BindingSource.Custom },
743
BindingInfo
= new BindingInfo() { BindingSource = BindingSource.Custom },
784
BindingInfo
= new BindingInfo()
797
BindingInfo
= new BindingInfo()
847
BindingInfo
= new BindingInfo()
860
BindingInfo
= new BindingInfo()
956
BindingInfo
= new BindingInfo(),
1014
BindingInfo
= new BindingInfo(),
1093
BindingInfo
= new BindingInfo()
1105
BindingInfo
= new BindingInfo()
Infrastructure\ControllerActionInvokerTest.cs (1)
1397
BindingInfo
= new BindingInfo(),
ModelBinding\ParameterBinderTest.cs (3)
135
BindingInfo
= bindingInfo,
144
BindingInfo
= bindingInfo,
656
BindingInfo
= new BindingInfo
Microsoft.AspNetCore.Mvc.IntegrationTests (150)
ActionParametersIntegrationTest.cs (4)
218
BindingInfo
= new BindingInfo()
263
BindingInfo
= new BindingInfo
309
BindingInfo
= new BindingInfo()
354
BindingInfo
= new BindingInfo()
ArrayModelBinderIntegrationTest.cs (2)
61
BindingInfo
= new BindingInfo()
221
BindingInfo
= new BindingInfo()
BinderTypeBasedModelBinderIntegrationTest.cs (7)
22
BindingInfo
= new BindingInfo()
56
BindingInfo
= new BindingInfo()
93
BindingInfo
= new BindingInfo()
160
BindingInfo
= bindingInfo,
212
BindingInfo
= bindingInfo,
249
BindingInfo
= new BindingInfo(),
285
BindingInfo
= new BindingInfo()
BindingSourceMetadataProviderIntegrationTest.cs (2)
30
BindingInfo
= new BindingInfo(),
84
BindingInfo
= new BindingInfo(),
BindPropertyIntegrationTest.cs (7)
32
BindingInfo
= BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }),
59
BindingInfo
= BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() { SupportsGet = true } }),
86
BindingInfo
= BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }),
111
BindingInfo
= BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }),
147
BindingInfo
= BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }),
189
BindingInfo
= BindingInfo.GetBindingInfo(new[]
266
BindingInfo
= BindingInfo.GetBindingInfo(new[] { new BindPropertyAttribute() }),
BodyValidationIntegrationTests.cs (19)
27
BindingInfo
= new BindingInfo()
69
BindingInfo
= new BindingInfo
101
BindingInfo
= new BindingInfo()
151
BindingInfo
= new BindingInfo()
192
BindingInfo
= new BindingInfo()
232
BindingInfo
= new BindingInfo()
268
BindingInfo
= new BindingInfo()
313
BindingInfo
= new BindingInfo()
361
BindingInfo
= new BindingInfo()
402
BindingInfo
= new BindingInfo
460
BindingInfo
= new BindingInfo
517
BindingInfo
= new BindingInfo
566
BindingInfo
= new BindingInfo
610
BindingInfo
= new BindingInfo
655
BindingInfo
= new BindingInfo
706
BindingInfo
= new BindingInfo
765
BindingInfo
= new BindingInfo
831
BindingInfo
= bindingInfo,
877
BindingInfo
= bindingInfo,
ByteArrayModelBinderIntegrationTest.cs (3)
27
BindingInfo
= new BindingInfo(),
77
BindingInfo
= new BindingInfo()
110
BindingInfo
= new BindingInfo
CancellationTokenModelBinderIntegrationTest.cs (3)
24
BindingInfo
= new BindingInfo()
64
BindingInfo
= new BindingInfo(),
99
BindingInfo
= new BindingInfo()
CollectionModelBinderIntegrationTest.cs (3)
71
BindingInfo
= new BindingInfo()
219
BindingInfo
= new BindingInfo()
349
BindingInfo
= new BindingInfo()
ComplexRecordIntegrationTest.cs (7)
2174
BindingInfo
= new BindingInfo()
2282
BindingInfo
= new BindingInfo()
2430
BindingInfo
= new BindingInfo()
2645
BindingInfo
= bindingInfo,
2694
BindingInfo
= bindingInfo,
2749
BindingInfo
= bindingInfo,
2804
BindingInfo
= bindingInfo,
ComplexTypeIntegrationTestBase.cs (7)
2336
BindingInfo
= new BindingInfo()
2448
BindingInfo
= new BindingInfo()
2600
BindingInfo
= new BindingInfo()
2824
BindingInfo
= bindingInfo,
2873
BindingInfo
= bindingInfo,
2940
BindingInfo
= bindingInfo,
2995
BindingInfo
= bindingInfo,
DictionaryModelBinderIntegrationTest.cs (3)
152
BindingInfo
= new BindingInfo()
704
BindingInfo
= new BindingInfo()
748
BindingInfo
= new BindingInfo()
ExcludeBindingMetadataProviderIntegrationTest.cs (2)
31
BindingInfo
= new BindingInfo(),
99
BindingInfo
= new BindingInfo(),
FormCollectionModelBindingIntegrationTest.cs (3)
34
BindingInfo
= new BindingInfo(),
81
BindingInfo
= new BindingInfo
126
BindingInfo
= new BindingInfo
FormFileModelBindingIntegrationTest.cs (22)
34
BindingInfo
= new BindingInfo(),
82
BindingInfo
= new BindingInfo(),
133
BindingInfo
= new BindingInfo(),
191
BindingInfo
= new BindingInfo(),
278
BindingInfo
= new BindingInfo(),
343
BindingInfo
= new BindingInfo(),
409
BindingInfo
= new BindingInfo(),
479
BindingInfo
= new BindingInfo(),
525
BindingInfo
= new BindingInfo(),
568
BindingInfo
= new BindingInfo(),
614
BindingInfo
= new BindingInfo
663
BindingInfo
= new BindingInfo()
703
BindingInfo
= new BindingInfo(),
762
BindingInfo
= new BindingInfo(),
828
BindingInfo
= new BindingInfo(),
889
BindingInfo
= new BindingInfo(),
928
BindingInfo
= new BindingInfo(),
990
BindingInfo
= new BindingInfo(),
1044
BindingInfo
= new BindingInfo(),
1095
BindingInfo
= new BindingInfo(),
1140
BindingInfo
= new BindingInfo(),
1199
BindingInfo
= new BindingInfo(),
HeaderModelBinderIntegrationTest.cs (7)
34
BindingInfo
= new BindingInfo()
73
BindingInfo
= new BindingInfo()
118
BindingInfo
= new BindingInfo(),
164
BindingInfo
= new BindingInfo(),
211
BindingInfo
= new BindingInfo(),
267
BindingInfo
= new BindingInfo
312
BindingInfo
= new BindingInfo()
KeyValuePairModelBinderIntegrationTest.cs (2)
235
BindingInfo
= new BindingInfo()
398
BindingInfo
= new BindingInfo()
ModelPrefixSelectionIntegrationTest.cs (3)
75
BindingInfo
= new BindingInfo()
163
BindingInfo
= new BindingInfo()
212
BindingInfo
= new BindingInfo()
NullableReferenceTypeIntegrationTest.cs (4)
28
BindingInfo
= new BindingInfo(),
76
BindingInfo
= new BindingInfo(),
115
BindingInfo
= new BindingInfo(),
162
BindingInfo
= new BindingInfo(),
ServicesModelBinderIntegrationTest.cs (11)
21
BindingInfo
= new BindingInfo()
59
BindingInfo
= new BindingInfo
95
BindingInfo
= new BindingInfo
131
BindingInfo
= new BindingInfo
167
BindingInfo
= new BindingInfo
204
BindingInfo
= new BindingInfo
237
BindingInfo
= new BindingInfo
273
BindingInfo
= new BindingInfo
306
BindingInfo
= new BindingInfo
360
BindingInfo
= bindingInfo,
398
BindingInfo
= bindingInfo,
SimpleTypeModelBinderIntegrationTest.cs (17)
26
BindingInfo
= new BindingInfo()
74
BindingInfo
= new BindingInfo(),
118
BindingInfo
= new BindingInfo(),
162
BindingInfo
= new BindingInfo(),
196
BindingInfo
= new BindingInfo(),
241
BindingInfo
= new BindingInfo(),
286
BindingInfo
= new BindingInfo
324
BindingInfo
= new BindingInfo(),
368
BindingInfo
= new BindingInfo(),
436
BindingInfo
= new BindingInfo(),
479
BindingInfo
= new BindingInfo(),
539
BindingInfo
= new BindingInfo(),
576
BindingInfo
= new BindingInfo(),
614
BindingInfo
= new BindingInfo(),
668
BindingInfo
= new BindingInfo(),
713
BindingInfo
= new BindingInfo(),
757
BindingInfo
= new BindingInfo(),
ValidationIntegrationTests.cs (6)
55
BindingInfo
= new BindingInfo()
67
BindingInfo
= new BindingInfo()
1780
BindingInfo
= new BindingInfo
1871
BindingInfo
= new BindingInfo
1917
BindingInfo
= new BindingInfo
1972
BindingInfo
= new BindingInfo
ValidationWithRecordIntegrationTests.cs (6)
47
BindingInfo
= new BindingInfo()
59
BindingInfo
= new BindingInfo()
1583
BindingInfo
= new BindingInfo
1674
BindingInfo
= new BindingInfo
1720
BindingInfo
= new BindingInfo
1771
BindingInfo
= new BindingInfo
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (2)
108
BindingInfo
= parameterModel.BindingInfo,
137
BindingInfo
= propertyModel.BindingInfo,
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Infrastructure\ExecutorFactoryTest.cs (1)
210
BindingInfo
= BindingInfo.GetBindingInfo(p.GetCustomAttributes()),
Infrastructure\PageBinderFactoryTest.cs (2)
363
BindingInfo
= new BindingInfo()
423
BindingInfo
= new BindingInfo()
Microsoft.AspNetCore.OpenApi.Tests (2)
Services\OpenApiDocumentServiceTestsBase.cs (2)
205
BindingInfo
= bindingInfo,
244
BindingInfo
= BindingInfo.GetBindingInfo(parameter.GetCustomAttributes().OfType<object>()),
27 references to BindingInfo
ApplicationModelWebSite (1)
Controllers\ParameterModelController.cs (1)
18
return ControllerContext.ActionDescriptor.Parameters[0].
BindingInfo
.BinderModelName;
FormatterWebSite (1)
ValidateBodyParameterAttribute.cs (1)
20
parameter.
BindingInfo
?.BindingSource));
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (2)
190
actionParameter.
BindingInfo
,
207
actionParameter.
BindingInfo
,
Microsoft.AspNetCore.Mvc.Core (6)
Controllers\ControllerBinderDelegateProvider.cs (2)
151
BindingInfo = parameter.
BindingInfo
,
181
BindingInfo = property.
BindingInfo
,
ModelBinding\ParameterBinder.cs (4)
101
if (parameter.
BindingInfo
?.RequestPredicate?.Invoke(actionContext) == false)
111
parameter.
BindingInfo
,
115
var parameterModelName = parameter.
BindingInfo
?.BinderModelName ?? metadata.BinderModelName;
214
parameter.
BindingInfo
?.BinderModelName == null)
Microsoft.AspNetCore.Mvc.Core.Test (9)
ApplicationModels\ControllerActionDescriptorBuilderTest.cs (1)
56
Assert.Equal(BindingSource.Query, property.
BindingInfo
.BindingSource);
ApplicationModels\ControllerActionDescriptorProviderTests.cs (8)
130
Assert.Null(id.
BindingInfo
?.BindingSource);
149
Assert.Null(id.
BindingInfo
?.BindingSource);
155
Assert.Equal(entity.
BindingInfo
.BindingSource, BindingSource.Body);
174
Assert.Null(id.
BindingInfo
?.BindingSource);
180
Assert.Null(upperCaseId.
BindingInfo
?.BindingSource);
186
Assert.Null(id.
BindingInfo
?.BindingSource);
207
Assert.Equal(entity.
BindingInfo
.BindingSource, BindingSource.Body);
228
Assert.Null(entity.
BindingInfo
?.BindingSource);
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
ComplexRecordIntegrationTest.cs (1)
4256
BindingInfo = parameter.
BindingInfo
,
ComplexTypeIntegrationTestBase.cs (1)
3755
BindingInfo = parameter.
BindingInfo
,
ParameterBinderExtensions.cs (1)
69
BindingInfo = parameter.
BindingInfo
,
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageBinderFactory.cs (2)
36
BindingInfo = property.
BindingInfo
,
117
BindingInfo = parameter.
BindingInfo
,
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (3)
296
Assert.Same(parameterModel2.BindingInfo, p.
BindingInfo
);
339
Assert.Same(propertyModel.BindingInfo, p.
BindingInfo
);
388
Assert.Same(propertyModel1.BindingInfo, p.
BindingInfo
);