1 implementation of Form
Microsoft.AspNetCore.Http (1)
Features\FormFeature.cs (1)
115public IFormCollection? Form
1 write to Form
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
158set { FormFeature.Form = value; }
20 references to Form
Microsoft.AspNetCore.Http (1)
RequestFormReaderExtensions.cs (1)
34if (formFeature == null || formFeature.Form == null)
Microsoft.AspNetCore.Http.Tests (18)
Features\FormFeatureTests.cs (18)
74Assert.NotNull(formFeature.Form); 75Assert.Same(formFeature.Form, formCollection); 111Assert.NotNull(formFeature.Form); 112Assert.Same(formFeature.Form, formCollection); 218Assert.NotNull(formFeature.Form); 219Assert.Same(formCollection, formFeature.Form); 253Assert.NotNull(formFeature.Form); 254Assert.Same(formCollection, formFeature.Form); 290Assert.NotNull(formFeature.Form); 291Assert.Same(formFeature.Form, formCollection); 338Assert.NotNull(formFeature.Form); 339Assert.Same(formCollection, formFeature.Form); 375Assert.NotNull(formFeature.Form); 376Assert.Same(formFeature.Form, formCollection); 423Assert.NotNull(formFeature.Form); 424Assert.Same(formFeature.Form, formCollection); 572Assert.NotNull(formFeature.Form); 573Assert.Same(formFeature.Form, formCollection);
Microsoft.AspNetCore.Mvc.Core (1)
Filters\RequestFormLimitsFilter.cs (1)
37if (formFeature == null || formFeature.Form == null)