189 instantiations of BindingInfo
ApplicationModelWebSite (1)
Controllers\ParameterModelController.cs (1)
25
model.BindingInfo = model.BindingInfo ?? new
BindingInfo
();
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\BindingInfo.cs (2)
112
var bindingInfo = new
BindingInfo
();
211
bindingInfo = new
BindingInfo
();
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (3)
DefaultApiDescriptionProviderTest.cs (3)
257
action.Parameters[0].BindingInfo = new
BindingInfo
()
286
action.Parameters[0].BindingInfo = new
BindingInfo
()
2053
BindingInfo = new
BindingInfo
Microsoft.AspNetCore.Mvc.Core (9)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
230
bindingInfo = new
BindingInfo
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
87
parameter.BindingInfo ??= new
BindingInfo
();
ApplicationModels\ParameterModelBase.cs (1)
41
BindingInfo = other.BindingInfo == null ? null : new
BindingInfo
(other.BindingInfo);
ApplicationModels\PropertyModel.cs (1)
39
BindingInfo = other.BindingInfo == null ? null : new
BindingInfo
(other.BindingInfo);
ModelBinding\Binders\HeaderModelBinderProvider.cs (1)
41
var nestedBindingInfo = new
BindingInfo
(bindingInfo)
ModelBinding\ModelBinderFactory.cs (3)
213
bindingInfo = new
BindingInfo
(factoryContext.BindingInfo);
217
bindingInfo = new
BindingInfo
();
252
var bindingInfo = new
BindingInfo
();
ModelBinding\ModelBindingHelper.cs (1)
254
BindingInfo = new
BindingInfo
()
Microsoft.AspNetCore.Mvc.Core.Test (35)
ApplicationModels\ConsumesConstraintForFormFileParameterConventionTest.cs (1)
36
action.Parameters[0].BindingInfo = new
BindingInfo
ApplicationModels\ParameterModelTest.cs (1)
19
parameter.BindingInfo = new
BindingInfo
()
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\Binders\ComplexObjectModelBinderTest.cs (1)
1096
BindingInfo = new
BindingInfo
()
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1260
BindingInfo = new
BindingInfo
()
ModelBinding\Binders\HeaderModelBinderTests.cs (1)
379
BindingInfo = new
BindingInfo
()
ModelBinding\DefaultModelBindingContextTest.cs (3)
76
new
BindingInfo
() { BindingSource = BindingSource.Query },
99
new
BindingInfo
(),
128
new
BindingInfo
() { BindingSource = BindingSource.Query },
ModelBinding\ModelBinderFactoryTest.cs (3)
286
var emptyBindingInfo = new
BindingInfo
();
287
var halfBindingInfo = new
BindingInfo
292
var fullBindingInfo = new
BindingInfo
ModelBinding\ParameterBinderTest.cs (4)
32
var emptyBindingInfo = new
BindingInfo
();
33
var bindingInfoWithName = new
BindingInfo
128
var bindingInfo = new
BindingInfo
656
BindingInfo = new
BindingInfo
ModelBinding\TestModelBinderProviderContext.cs (2)
31
_bindingInfo = bindingInfo ?? new
BindingInfo
46
_bindingInfo = new
BindingInfo
Microsoft.AspNetCore.Mvc.IntegrationTests (130)
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 (6)
22
BindingInfo = new
BindingInfo
()
56
BindingInfo = new
BindingInfo
()
93
BindingInfo = new
BindingInfo
()
140
new
BindingInfo
(),
249
BindingInfo = new
BindingInfo
(),
285
BindingInfo = new
BindingInfo
()
BindingSourceMetadataProviderIntegrationTest.cs (2)
30
BindingInfo = new
BindingInfo
(),
84
BindingInfo = new
BindingInfo
(),
BodyValidationIntegrationTests.cs (17)
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
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 (3)
2174
BindingInfo = new
BindingInfo
()
2282
BindingInfo = new
BindingInfo
()
2430
BindingInfo = new
BindingInfo
()
ComplexTypeIntegrationTestBase.cs (3)
2336
BindingInfo = new
BindingInfo
()
2448
BindingInfo = new
BindingInfo
()
2600
BindingInfo = new
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 (9)
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
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\DefaultPageApplicationModelPartsProvider.cs (1)
124
bindingInfo = new
BindingInfo
ApplicationModels\PagePropertyModel.cs (1)
39
BindingInfo = other.BindingInfo == null ? null : new
BindingInfo
(other.BindingInfo);
Microsoft.AspNetCore.Mvc.RazorPages.Test (7)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (5)
76
BindingInfo = new
BindingInfo
(),
127
BindingInfo = new
BindingInfo
(),
262
BindingInfo = new
BindingInfo
(),
318
BindingInfo = new
BindingInfo
(),
360
BindingInfo = new
BindingInfo
(),
Infrastructure\PageBinderFactoryTest.cs (2)
363
BindingInfo = new
BindingInfo
()
423
BindingInfo = new
BindingInfo
()
150 references to BindingInfo
Microsoft.AspNetCore.Mvc.Abstractions (21)
Abstractions\ParameterDescriptor.cs (2)
24
/// Gets or sets the <see cref="ModelBinding.
BindingInfo
"/> for the parameter.
26
public
BindingInfo
? BindingInfo { get; set; }
ApiExplorer\ApiParameterDescription.cs (1)
37
public
BindingInfo
? BindingInfo { get; set; }
ModelBinding\BindingInfo.cs (16)
19
/// Creates a new <see cref="
BindingInfo
"/>.
26
/// Creates a copy of a <see cref="
BindingInfo
"/>.
28
/// <param name="other">The <see cref="
BindingInfo
"/> to copy.</param>
29
public BindingInfo(
BindingInfo
other)
100
/// Constructs a new instance of <see cref="
BindingInfo
"/> from the given <paramref name="attributes"/>.
102
/// This overload does not account for <see cref="
BindingInfo
"/> specified via <see cref="ModelMetadata"/>. Consider using
104
/// on the result of this method to get a more accurate <see cref="
BindingInfo
"/> instance.
107
/// <param name="attributes">A collection of attributes which are used to construct <see cref="
BindingInfo
"/>
109
/// <returns>A new instance of <see cref="
BindingInfo
"/>.</returns>
110
public static
BindingInfo
? GetBindingInfo(IEnumerable<object> attributes)
112
var
bindingInfo = new BindingInfo();
196
/// Constructs a new instance of <see cref="
BindingInfo
"/> from the given <paramref name="attributes"/> and <paramref name="modelMetadata"/>.
198
/// <param name="attributes">A collection of attributes which are used to construct <see cref="
BindingInfo
"/>.</param>
200
/// <returns>A new instance of <see cref="
BindingInfo
"/> if any binding metadata was discovered; otherwise or <see langword="null"/>.</returns>
201
public static
BindingInfo
? GetBindingInfo(IEnumerable<object> attributes, ModelMetadata modelMetadata)
206
var
bindingInfo = GetBindingInfo(attributes);
ModelBinding\ModelBinderProviderContext.cs (2)
26
public virtual IModelBinder CreateBinder(ModelMetadata metadata,
BindingInfo
bindingInfo)
34
public abstract
BindingInfo
BindingInfo { get; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (29)
ModelBinding\BindingInfoTest.cs (29)
22
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes);
41
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes);
58
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes);
75
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes);
90
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes);
115
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
136
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
164
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
187
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
213
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
240
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
262
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
284
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
305
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
327
Assert.Throws<NotSupportedException>(() =>
BindingInfo
.GetBindingInfo(attributes, modelMetadata));
Microsoft.AspNetCore.Mvc.ApiExplorer (4)
DefaultApiDescriptionProvider.cs (4)
522
public
BindingInfo
? BindingInfo { get; }
526
BindingInfo
? bindingInfo,
633
var
bindingInfo =
BindingInfo
.GetBindingInfo(Enumerable.Empty<object>(), propertyMetadata);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (3)
DefaultApiDescriptionProviderTest.cs (3)
2311
var
bindingInfo =
BindingInfo
.GetBindingInfo(property.GetCustomAttributes().OfType<object>());
2337
BindingInfo =
BindingInfo
.GetBindingInfo(parameter.GetCustomAttributes().OfType<object>()),
Microsoft.AspNetCore.Mvc.Core (22)
ApplicationModels\DefaultApplicationModelProvider.cs (5)
220
var
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
440
BindingInfo
? bindingInfo;
444
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
449
bindingInfo =
BindingInfo
.GetBindingInfo(attributes);
ApplicationModels\IBindingModel.cs (1)
16
BindingInfo
? BindingInfo { get; set; }
ApplicationModels\InferParameterBindingInfoConvention.cs (2)
14
/// An <see cref="IActionModelConvention"/> that infers <see cref="
BindingInfo
.BindingSource"/> for parameters.
19
/// <item>A previously specified <see cref="
BindingInfo
.BindingSource" /> is never overwritten.</item>
ApplicationModels\ParameterModelBase.cs (1)
69
public
BindingInfo
? BindingInfo { get; set; }
ModelBinding\Binders\BinderTypeModelBinder.cs (1)
13
/// <see cref="
BindingInfo
.BinderType"/>.
ModelBinding\Binders\BinderTypeModelBinderProvider.cs (1)
10
/// using <see cref="
BindingInfo
.BinderType"/>.
ModelBinding\Binders\HeaderModelBinderProvider.cs (2)
21
var
bindingInfo = context.BindingInfo;
41
var
nestedBindingInfo = new BindingInfo(bindingInfo)
ModelBinding\DefaultModelBindingContext.cs (2)
194
/// <param name="bindingInfo"><see cref="
BindingInfo
"/> associated with the model.</param>
201
BindingInfo
? bindingInfo,
ModelBinding\ModelBinderFactory.cs (5)
210
BindingInfo
bindingInfo;
230
BindingInfo
bindingInfo)
240
public override
BindingInfo
BindingInfo { get; }
252
var
bindingInfo = new BindingInfo();
258
public override IModelBinder CreateBinder(ModelMetadata metadata,
BindingInfo
bindingInfo)
ModelBinding\ModelBinderFactoryContext.cs (2)
14
/// Gets or sets the <see cref="ModelBinding.
BindingInfo
"/>.
16
public
BindingInfo
? BindingInfo { get; set; }
Microsoft.AspNetCore.Mvc.Core.Test (39)
ApplicationModels\ControllerActionDescriptorBuilderTest.cs (1)
27
BindingInfo =
BindingInfo
.GetBindingInfo(new object[] { new FromQueryAttribute() }),
ApplicationModels\InferParameterBindingInfoConventionTest.cs (20)
128
var
bindingInfo = parameter.BindingInfo;
137
var
bindingInfo = parameter.BindingInfo;
162
var
bindingInfo = parameter.BindingInfo;
188
var
bindingInfo = parameter.BindingInfo;
214
var
bindingInfo = parameter.BindingInfo;
236
var
bindingInfo = parameter.BindingInfo;
257
var
bindingInfo = parameter.BindingInfo;
278
var
bindingInfo = parameter.BindingInfo;
660
var
bindingInfo = parameter.BindingInfo;
681
var
bindingInfo = parameter.BindingInfo;
702
var
bindingInfo = parameter.BindingInfo;
722
var
bindingInfo = parameter.BindingInfo;
743
var
bindingInfo = parameter.BindingInfo;
764
var
bindingInfo = parameter.BindingInfo;
785
var
bindingInfo = parameter.BindingInfo;
806
var
bindingInfo = parameter.BindingInfo;
827
var
bindingInfo = parameter.BindingInfo;
848
var
bindingInfo = parameter.BindingInfo;
868
var
bindingInfo = parameter.BindingInfo;
891
var
bindingInfo = parameter.BindingInfo;
ApplicationModels\PropertyModelTest.cs (1)
19
propertyModel.BindingInfo =
BindingInfo
.GetBindingInfo(propertyModel.Attributes);
ModelBinding\ModelBinderFactoryTest.cs (9)
280
public static TheoryData<
BindingInfo
, BindingMetadata,
BindingInfo
> BindingInfoData
286
var
emptyBindingInfo = new BindingInfo();
287
var
halfBindingInfo = new BindingInfo
292
var
fullBindingInfo = new BindingInfo
322
return new TheoryData<
BindingInfo
, BindingMetadata,
BindingInfo
>
338
BindingInfo
parameterBindingInfo,
340
BindingInfo
expectedInfo)
ModelBinding\ParameterBinderTest.cs (4)
32
var
emptyBindingInfo = new BindingInfo();
33
var
bindingInfoWithName = new BindingInfo
40
return new TheoryData<
BindingInfo
, string, string, string>
128
var
bindingInfo = new BindingInfo
ModelBinding\TestModelBinderProviderContext.cs (4)
14
private
BindingInfo
_bindingInfo;
27
public TestModelBinderProviderContext(Type modelType,
BindingInfo
bindingInfo)
57
public override
BindingInfo
BindingInfo => _bindingInfo;
81
public override IModelBinder CreateBinder(ModelMetadata metadata,
BindingInfo
bindingInfo)
Microsoft.AspNetCore.Mvc.IntegrationTests (23)
BinderTypeBasedModelBinderIntegrationTest.cs (4)
133
public static TheoryData<
BindingInfo
> NullAndEmptyBindingInfo
137
return new TheoryData<
BindingInfo
>
152
public async Task BinderTypeOnParameterType_WithData_EmptyPrefix_GetsBound(
BindingInfo
bindingInfo)
205
public async Task BinderTypeOnProperty_WithData_EmptyPrefix_GetsBound(
BindingInfo
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 (2)
809
public async Task FromBodyOnPropertyType_WithData_Succeeds(
BindingInfo
bindingInfo)
855
public async Task FromBodyOnParameterType_WithData_Succeeds(
BindingInfo
bindingInfo)
ComplexRecordIntegrationTest.cs (4)
2639
public async Task ModelNameOnPropertyType_WithData_Succeeds(
BindingInfo
bindingInfo)
2688
public async Task ModelNameOnParameterType_WithData_Succeeds(
BindingInfo
bindingInfo)
2743
public async Task BindAttributeOnPropertyType_WithData_Succeeds(
BindingInfo
bindingInfo)
2798
public async Task BindAttributeOnParameterType_WithData_Succeeds(
BindingInfo
bindingInfo)
ComplexTypeIntegrationTestBase.cs (4)
2818
public async Task ModelNameOnPropertyType_WithData_Succeeds(
BindingInfo
bindingInfo)
2867
public async Task ModelNameOnParameterType_WithData_Succeeds(
BindingInfo
bindingInfo)
2934
public async Task BindAttributeOnPropertyType_WithData_Succeeds(
BindingInfo
bindingInfo)
2989
public async Task BindAttributeOnParameterType_WithData_Succeeds(
BindingInfo
bindingInfo)
ServicesModelBinderIntegrationTest.cs (2)
346
public async Task FromServicesOnPropertyType_WithData_Succeeds(
BindingInfo
bindingInfo)
383
public async Task FromServicesOnParameterType_WithData_Succeeds(
BindingInfo
bindingInfo)
Microsoft.AspNetCore.Mvc.RazorPages (5)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (5)
81
BindingInfo
? bindingInfo;
85
bindingInfo =
BindingInfo
.GetBindingInfo(attributes, modelMetadata);
89
bindingInfo =
BindingInfo
.GetBindingInfo(attributes);
113
var
bindingInfo =
BindingInfo
.GetBindingInfo(propertyAttributes, propertyMetadata);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\ExecutorFactoryTest.cs (1)
210
BindingInfo =
BindingInfo
.GetBindingInfo(p.GetCustomAttributes()),
Microsoft.AspNetCore.OpenApi.Tests (3)
Services\OpenApiDocumentServiceTestsBase.cs (3)
200
var
bindingInfo =
BindingInfo
.GetBindingInfo(property.GetCustomAttributes().OfType<object>());
244
BindingInfo =
BindingInfo
.GetBindingInfo(parameter.GetCustomAttributes().OfType<object>()),