3 writes to _options
Microsoft.AspNetCore.Http (3)
Features\FormFeature.cs (3)
36
_options
= FormOptions.Default;
64
_options
= options;
192
_options
= _endpoint is null ? _options : GetFormOptionsFromMetadata(_options, _endpoint);
17 references to _options
Microsoft.AspNetCore.Http (17)
Features\FormFeature.cs (17)
69
internal FormOptions FormOptions =>
_options
;
192
_options = _endpoint is null ?
_options
: GetFormOptionsFromMetadata(
_options
, _endpoint);
206
if (
_options
.BufferBody)
208
_request.EnableRewind(
_options
.MemoryBufferThreshold,
_options
.BufferBodyLengthLimit);
224
ValueCountLimit =
_options
.ValueCountLimit,
225
KeyLengthLimit =
_options
.KeyLengthLimit,
226
ValueLengthLimit =
_options
.ValueLengthLimit,
235
var boundary = GetBoundary(contentType,
_options
.MultipartBoundaryLengthLimit);
238
HeadersCountLimit =
_options
.MultipartHeadersCountLimit,
239
HeadersLengthLimit =
_options
.MultipartHeadersLengthLimit,
240
BodyLengthLimit =
_options
.MultipartBodyLengthLimit,
246
if (sectionCount >
_options
.ValueCountLimit)
248
throw new InvalidDataException($"Form value count limit {
_options
.ValueCountLimit} exceeded.");
263
_options
.MemoryBufferThreshold,
_options
.MultipartBodyLengthLimit);