4 overrides of BindingSource
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcModelMetadata.cs (1)
21public override BindingSource BindingSource { get; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
487public override BindingSource BindingSource
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
21public override BindingSource? BindingSource { get; }
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
167public override BindingSource? BindingSource => BindingMetadata.BindingSource;
22 references to BindingSource
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\BindingInfo.cs (2)
245if (BindingSource == null && modelMetadata.BindingSource != null) 248BindingSource = modelMetadata.BindingSource;
Microsoft.AspNetCore.Mvc.Core (10)
ModelBinding\Binders\ComplexObjectModelBinder.cs (2)
587var bindingSource = propertyMetadata.BindingSource; 623var bindingSource = parameterMetadata.BindingSource;
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
388var bindingSource = propertyMetadata.BindingSource;
ModelBinding\DefaultModelBindingContext.cs (5)
210var bindingSource = bindingInfo?.BindingSource ?? metadata.BindingSource; 259if (modelMetadata.BindingSource != null && !modelMetadata.BindingSource.IsGreedy) 261ValueProvider = FilterValueProvider(OriginalValueProvider, modelMetadata.BindingSource); 269BindingSource = modelMetadata.BindingSource;
ModelBinding\Metadata\BindingMetadata.cs (1)
22/// See <see cref="ModelMetadata.BindingSource"/>.
ModelBinding\ModelBindingHelper.cs (1)
258BindingSource = modelMetadata.BindingSource,
Microsoft.AspNetCore.Mvc.Core.Test (10)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
1100BindingSource = metadata.BindingSource, 1112BindingSource = metadata.BindingSource,
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
1264BindingSource = metadata.BindingSource, 1276BindingSource = metadata.BindingSource,
ModelBinding\Binders\HeaderModelBinderTests.cs (2)
353BindingSource = metadata.BindingSource, 383BindingSource = metadata.BindingSource,
ModelBinding\Binders\ServicesModelBinderTest.cs (1)
56BindingSource = modelMetadata.BindingSource,
ModelBinding\DefaultModelBindingContextTest.cs (1)
52Assert.Same(newModelMetadata.BindingSource, bindingContext.BindingSource);
ModelBinding\TestModelBinderProviderContext.cs (2)
35BindingSource = Metadata.BindingSource, 50BindingSource = Metadata.BindingSource,