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