16 writes to BufferBody
Microsoft.AspNetCore.Http (1)
Internal\MutableFormOptionsMetadata.cs (1)
11
BufferBody
= BufferBody ?? baseFormOptions.BufferBody,
Microsoft.AspNetCore.Http.Tests (13)
Features\FormFeatureTests.cs (13)
58
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
100
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
208
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
243
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
280
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
328
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
365
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
413
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
465
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest, ValueCountLimit = 2 });
489
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest, ValueCountLimit = 2 });
513
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest, ValueCountLimit = 2 });
537
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest, ValueCountLimit = 2 });
562
IFormFeature formFeature = new FormFeature(context.Request, new FormOptions() {
BufferBody
= bufferRequest });
Microsoft.AspNetCore.Mvc.Core (1)
RequestFormLimitsAttribute.cs (1)
49
set => FormOptions.
BufferBody
= value;
Microsoft.AspNetCore.Routing.Tests (1)
EndpointRoutingMiddlewareFormOptionsTest.cs (1)
98
options.
BufferBody
= true;
9 references to BufferBody
Microsoft.AspNetCore.Http (4)
Features\FormFeature.cs (1)
199
if (_options.
BufferBody
)
Features\FormOptions.cs (2)
46
/// If <see cref="
BufferBody
"/> is enabled, this many bytes of the body will be buffered in memory.
54
/// If <see cref="
BufferBody
"/> is enabled, this is the limit for the total number of bytes that will
Internal\MutableFormOptionsMetadata.cs (1)
11
BufferBody = BufferBody ?? baseFormOptions.
BufferBody
,
Microsoft.AspNetCore.Mvc.Core (1)
RequestFormLimitsAttribute.cs (1)
48
get => FormOptions.
BufferBody
;
Microsoft.AspNetCore.Routing.Tests (4)
EndpointRoutingMiddlewareFormOptionsTest.cs (4)
49
Assert.False(formOptions.
BufferBody
);
83
Assert.True(formOptions.
BufferBody
);
121
Assert.False(formOptions.
BufferBody
);
157
Assert.True(formOptions.
BufferBody
);