2 writes to FormOptions
Microsoft.AspNetCore.Hosting (1)
Http\DefaultHttpContextFactory.cs (1)
66
httpContext.
FormOptions
= _formOptions;
Microsoft.AspNetCore.Http.Tests (1)
Features\FormFeatureTests.cs (1)
33
context.
FormOptions
= new FormOptions
4 references to FormOptions
Microsoft.AspNetCore.Hosting.Tests (1)
Http\DefaultHttpContextFactoryTests.cs (1)
77
Assert.NotNull(context.
FormOptions
);
Microsoft.AspNetCore.Http (3)
DefaultHttpContext.cs (2)
102
/// Gets or set the <see cref="
FormOptions
" /> for this instance.
105
/// <see cref="
FormOptions
"/>
Internal\DefaultHttpRequest.cs (1)
18
private static readonly Func<DefaultHttpRequest, IFormFeature> _newFormFeature = r => new FormFeature(r, r._context.
FormOptions
?? FormOptions.Default, r._context.GetEndpoint());