3 writes to _options
Microsoft.AspNetCore.Http (3)
Features\FormFeature.cs (3)
36
_options
= FormOptions.Default;
64
_options
= options;
185
_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
;
185
_options = _endpoint is null ?
_options
: GetFormOptionsFromMetadata(
_options
, _endpoint);
199
if (
_options
.BufferBody)
201
_request.EnableRewind(
_options
.MemoryBufferThreshold,
_options
.BufferBodyLengthLimit);
217
ValueCountLimit =
_options
.ValueCountLimit,
218
KeyLengthLimit =
_options
.KeyLengthLimit,
219
ValueLengthLimit =
_options
.ValueLengthLimit,
228
var boundary = GetBoundary(contentType,
_options
.MultipartBoundaryLengthLimit);
231
HeadersCountLimit =
_options
.MultipartHeadersCountLimit,
232
HeadersLengthLimit =
_options
.MultipartHeadersLengthLimit,
233
BodyLengthLimit =
_options
.MultipartBodyLengthLimit,
239
if (sectionCount >
_options
.ValueCountLimit)
241
throw new InvalidDataException($"Form value count limit {
_options
.ValueCountLimit} exceeded.");
256
_options
.MemoryBufferThreshold,
_options
.MultipartBodyLengthLimit);