2 overrides of BoundConstructorParameters
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
768public override IReadOnlyList<ModelMetadata> BoundConstructorParameters => throw new NotImplementedException();
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
396public override IReadOnlyList<ModelMetadata>? BoundConstructorParameters => _details.BoundConstructorParameters;
12 references to BoundConstructorParameters
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\ModelMetadata.cs (2)
140var boundParameters = BoundConstructor.BoundConstructorParameters!; 666var boundParameters = BoundConstructor!.BoundConstructorParameters!;
Microsoft.AspNetCore.Mvc.Core (9)
ModelBinding\Binders\ComplexObjectModelBinder.cs (4)
83var values = new object[boundConstructor.BoundConstructorParameters!.Count]; 87boundConstructor.BoundConstructorParameters, 548(!performsConstructorBinding || modelMetadata.BoundConstructor!.BoundConstructorParameters!.Count == 0)) 613var parameters = bindingContext.ModelMetadata.BoundConstructor!.BoundConstructorParameters!;
ModelBinding\Binders\ComplexObjectModelBinderProvider.cs (3)
49var parameterBinders = boundConstructor.BoundConstructorParameters!.Count == 0 ? 51new IModelBinder[boundConstructor.BoundConstructorParameters.Count]; 55parameterBinders[i] = context.CreateBinder(boundConstructor.BoundConstructorParameters[i]);
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
511var parameters = defaultModelMetadata.BoundConstructor?.BoundConstructorParameters ?? Array.Empty<ModelMetadata>();
ModelBinding\Validation\DefaultComplexObjectValidationStrategy.cs (1)
62_parameters = _modelMetadata.BoundConstructor.BoundConstructorParameters!;
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Validation\ClientValidatorCacheTest.cs (1)
73var parameter = metadata.BoundConstructor.BoundConstructorParameters.First(f => f.Name == nameof(TestRecordType.Property1));