1 implementation of OpenReadStream
Microsoft.AspNetCore.Http (1)
FormFile.cs (1)
75
public Stream
OpenReadStream
()
45 references to OpenReadStream
FilesWebSite (1)
Models\User.cs (1)
16
using (var reader = new StreamReader(Biography.
OpenReadStream
()))
Microsoft.AspNetCore.Http.Tests (4)
Features\FormFeatureTests.cs (4)
305
var body = file.
OpenReadStream
();
390
var body = file.
OpenReadStream
();
437
var body = file.
OpenReadStream
();
586
using (var body = file.
OpenReadStream
())
Microsoft.AspNetCore.Mvc.IntegrationTests (39)
ComplexRecordIntegrationTest.cs (9)
687
using (var reader = new StreamReader(document.
OpenReadStream
()))
744
using (var reader = new StreamReader(document.
OpenReadStream
()))
3006
using (var reader = new StreamReader(person.Photo.
OpenReadStream
()))
3142
using (var reader = new StreamReader(model.Photo.
OpenReadStream
()))
3194
using (var reader = new StreamReader(model.Mother.Photo.
OpenReadStream
()))
3201
using (var reader = new StreamReader(model.Photo.
OpenReadStream
()))
3273
using (var reader = new StreamReader(item.Photo.
OpenReadStream
()))
3282
using (var reader = new StreamReader(item.Photo.
OpenReadStream
()))
3290
using (var reader = new StreamReader(model.Photo.
OpenReadStream
()))
ComplexTypeIntegrationTestBase.cs (9)
690
using (var reader = new StreamReader(document.
OpenReadStream
()))
747
using (var reader = new StreamReader(document.
OpenReadStream
()))
3214
using (var reader = new StreamReader(person.Photo.
OpenReadStream
()))
3364
using (var reader = new StreamReader(model.Photo.
OpenReadStream
()))
3416
using (var reader = new StreamReader(model.Mother.Photo.
OpenReadStream
()))
3423
using (var reader = new StreamReader(model.Photo.
OpenReadStream
()))
3502
using (var reader = new StreamReader(item.Photo.
OpenReadStream
()))
3511
using (var reader = new StreamReader(item.Photo.
OpenReadStream
()))
3519
using (var reader = new StreamReader(model.Photo.
OpenReadStream
()))
FormCollectionModelBindingIntegrationTest.cs (2)
62
var reader = new StreamReader(file.
OpenReadStream
());
110
var reader = new StreamReader(file.
OpenReadStream
());
FormFileModelBindingIntegrationTest.cs (18)
61
var reader = new StreamReader(boundPerson.Address.File.
OpenReadStream
());
108
using var reader = new StreamReader(boundPerson.Address.File.
OpenReadStream
());
159
using var reader = new StreamReader(boundPerson.Address.File.
OpenReadStream
());
221
using var reader = new StreamReader(boundPerson.Address.File.
OpenReadStream
());
310
using var reader = new StreamReader(file.
OpenReadStream
());
377
using var reader = new StreamReader(file.
OpenReadStream
());
439
using var reader = new StreamReader(boundPerson.Address.File.
OpenReadStream
());
500
using (var reader = new StreamReader(file.
OpenReadStream
()))
589
using (var reader = new StreamReader(file.
OpenReadStream
()))
730
var reader = new StreamReader(file.
OpenReadStream
());
796
using var reader = new StreamReader(file.
OpenReadStream
());
804
using var reader = new StreamReader(file.
OpenReadStream
());
861
using var reader = new StreamReader(file.
OpenReadStream
());
869
using var reader = new StreamReader(file.
OpenReadStream
());
963
using var reader = new StreamReader(file.
OpenReadStream
());
969
using var reader = new StreamReader(file.
OpenReadStream
());
1017
var reader = new StreamReader(file.
OpenReadStream
());
1246
using var reader = new StreamReader(file.
OpenReadStream
());
TryUpdateModelIntegrationTest.cs (1)
1069
using (var reader = new StreamReader(file.
OpenReadStream
()))
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
52
await using var uploadStream = file.
OpenReadStream
();