31 references to Form
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\BindingSource.cs (1)
199return bindingSource == Form || bindingSource == Path || bindingSource == Query;
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
DefaultApiDescriptionProviderTest.cs (4)
1425Assert.Same(BindingSource.Form, parameter.Source); 1429Assert.Same(BindingSource.Form, parameter.Source); 1433Assert.Same(BindingSource.Form, parameter.Source); 1979Assert.Same(BindingSource.Form, id.Source);
Microsoft.AspNetCore.Mvc.Core (3)
FromFormAttribute.cs (1)
32public BindingSource BindingSource => BindingSource.Form;
ModelBinding\FormValueProviderFactory.cs (1)
55BindingSource.Form,
ModelBinding\JQueryFormValueProviderFactory.cs (1)
55BindingSource.Form,
Microsoft.AspNetCore.Mvc.Core.Test (16)
ModelBinding\Binders\BodyModelBinderProviderTest.cs (1)
18BindingSource.Form,
ModelBinding\Binders\DictionaryModelBinderTest.cs (2)
648BindingSource.Form, 661return new TestValueProvider(BindingSource.Form, backingStore);
ModelBinding\Binders\HeaderModelBinderProviderTest.cs (1)
21BindingSource.Form,
ModelBinding\Binders\ServicesModelBinderProviderTest.cs (1)
17BindingSource.Form,
ModelBinding\BindingSourceValueProviderTest.cs (1)
39bindingSources: new BindingSource[] { BindingSource.Query, BindingSource.Form },
ModelBinding\DefaultModelBindingContextTest.cs (2)
120.BindingDetails(b => b.BindingSource = BindingSource.Form); 178BindingSource.Form,
ModelBinding\JQueryFormValueProviderTest.cs (1)
24var provider = new JQueryFormValueProvider(BindingSource.Form, dictionary, CultureInfo.CurrentCulture);
ModelBinding\JQueryQueryStringValueProviderTest.cs (1)
25BindingSource.Form,
ModelBinding\Metadata\BindingSourceTest.cs (2)
18bindingSources: new BindingSource[] { BindingSource.Query, BindingSource.Form }, 34BindingSource.Form,
ModelBinding\Metadata\CompositeBindingSourceTest.cs (4)
15bindingSources: new BindingSource[] { BindingSource.Query, BindingSource.Form }, 19bindingSources: new BindingSource[] { BindingSource.Query, BindingSource.Form }, 37bindingSources: new BindingSource[] { BindingSource.Query, BindingSource.Form }, 52bindingSources: new BindingSource[] { BindingSource.Query, BindingSource.Form },
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
ApiExplorerTest.cs (4)
1084Assert.Equal(BindingSource.Form.Id, quantity.Source); 1088Assert.Equal(BindingSource.Form.Id, productId.Source); 1092Assert.Equal(BindingSource.Form.Id, productName.Source); 1100Assert.Equal(BindingSource.Form.Id, feedback.Source);
Microsoft.AspNetCore.OpenApi (3)
Extensions\ApiDescriptionExtensions.cs (2)
85apiParameterDescription.Source == BindingSource.Form; 95formParameters = apiDescription.ParameterDescriptions.Where(parameter => parameter.Source == BindingSource.Form || parameter.Source == BindingSource.FormFile);
Extensions\JsonNodeSchemaExtensions.cs (1)
347|| bindingSource == BindingSource.Form