19 implementations of BindingSource
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2897public BindingSource BindingSource => BindingSource.FormFile;
Microsoft.AspNetCore.Mvc.Core (8)
BindPropertyAttribute.cs (1)
64public virtual BindingSource? BindingSource
FromBodyAttribute.cs (1)
44public BindingSource BindingSource => BindingSource.Body;
FromFormAttribute.cs (1)
32public BindingSource BindingSource => BindingSource.Form;
FromHeaderAttribute.cs (1)
31public BindingSource BindingSource => BindingSource.Header;
FromQueryAttribute.cs (1)
31public BindingSource BindingSource => BindingSource.Query;
FromRouteAttribute.cs (1)
31public BindingSource BindingSource => BindingSource.Path;
FromServicesAttribute.cs (1)
29public BindingSource BindingSource => BindingSource.Services;
ModelBinderAttribute.cs (1)
82public virtual BindingSource? BindingSource
Microsoft.AspNetCore.Mvc.Core.Test (8)
Controllers\ControllerBinderDelegateProviderTest.cs (2)
1405public BindingSource BindingSource { get { return BindingSource.Custom; } } 1410public BindingSource BindingSource { get { return BindingSource.Query; } }
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
1350public BindingSource BindingSource 1358public BindingSource BindingSource { get { return BindingSource.Query; } }
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
1525public BindingSource BindingSource 1533public BindingSource BindingSource { get { return BindingSource.Query; } }
ModelBinding\CompositeValueProviderTest.cs (2)
260public BindingSource BindingSource 275public BindingSource BindingSource
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
ModelMetadataProviderTest.cs (1)
924public BindingSource BindingSource { get; set; }
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
GenericModelBinderIntegrationTest.cs (1)
139public BindingSource BindingSource
7 references to BindingSource
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\BindingInfo.cs (2)
141if (bindingSourceAttribute.BindingSource != null) 143bindingInfo.BindingSource = bindingSourceAttribute.BindingSource;
ModelBinding\IBindingSourceMetadata.cs (2)
12/// Gets the <see cref="BindingSource"/>. 15/// The <see cref="BindingSource"/> is metadata which can be used to determine which data
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (2)
44if (bindingSourceAttribute.BindingSource != null) 46context.BindingMetadata.BindingSource = bindingSourceAttribute.BindingSource;
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\CompositeValueProviderTest.cs (1)
127var result = provider.Filter(metadata.BindingSource);