2 writes to Body
Microsoft.AspNetCore.Http (1)
Internal\BufferingHelper.cs (1)
37
section.
Body
= fileStream;
Microsoft.AspNetCore.WebUtilities (1)
MultipartReader.cs (1)
103
return new MultipartSection() { Headers = headers,
Body
= _currentStream, BaseStreamOffset = baseStreamOffset };
8 references to Body
Microsoft.AspNetCore.Http (5)
Features\FormFeature.cs (4)
259
await section.
Body
.DrainAsync(cancellationToken);
268
file = new FormFile(_request.Body, section.BaseStreamOffset.GetValueOrDefault(), section.
Body
.Length, name, fileName);
273
file = new FormFile(section.
Body
, 0, section.
Body
.Length, name, fileName);
Internal\BufferingHelper.cs (1)
33
var body = section.
Body
;
Microsoft.AspNetCore.WebUtilities (3)
FileMultipartSection.cs (1)
55
public Stream? FileStream => Section.
Body
;
MultipartSectionStreamExtensions.cs (2)
32
if (section.
Body
is null)
47
section.
Body
,