2 writes to MemoryBufferThreshold
Microsoft.AspNetCore.Http (1)
Internal\MutableFormOptionsMetadata.cs (1)
12
MemoryBufferThreshold
= MemoryBufferThreshold ?? baseFormOptions.MemoryBufferThreshold,
Microsoft.AspNetCore.Mvc.Core (1)
RequestFormLimitsAttribute.cs (1)
62
set => FormOptions.
MemoryBufferThreshold
= value;
9 references to MemoryBufferThreshold
Microsoft.AspNetCore.Http (4)
Features\FormFeature.cs (2)
201
_request.EnableRewind(_options.
MemoryBufferThreshold
, _options.BufferBodyLengthLimit);
256
_options.
MemoryBufferThreshold
, _options.MultipartBodyLengthLimit);
Features\FormOptions.cs (1)
16
/// Default value for <see cref="
MemoryBufferThreshold
"/>.
Internal\MutableFormOptionsMetadata.cs (1)
12
MemoryBufferThreshold = MemoryBufferThreshold ?? baseFormOptions.
MemoryBufferThreshold
,
Microsoft.AspNetCore.Mvc.Core (1)
RequestFormLimitsAttribute.cs (1)
61
get => FormOptions.
MemoryBufferThreshold
;
Microsoft.AspNetCore.Routing.Tests (4)
EndpointRoutingMiddlewareFormOptionsTest.cs (4)
52
Assert.Equal(FormOptions.DefaultMemoryBufferThreshold, formOptions.
MemoryBufferThreshold
);
87
Assert.Equal(FormOptions.DefaultMemoryBufferThreshold, formOptions.
MemoryBufferThreshold
);
125
Assert.Equal(FormOptions.DefaultMemoryBufferThreshold, formOptions.
MemoryBufferThreshold
);
160
Assert.Equal(FormOptions.DefaultMemoryBufferThreshold, formOptions.
MemoryBufferThreshold
);