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