1 override of BoundConstructorParameters
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
396public override IReadOnlyList<ModelMetadata>? BoundConstructorParameters => _details.BoundConstructorParameters;
11 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!;