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