17 implementations of Stream
Microsoft.AspNetCore.Http (1)
StreamResponseBodyFeature.cs (1)
42public Stream Stream { get; }
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (1)
3733public Stream Stream
SendFileResponseExtensionsTests.cs (1)
109public Stream Stream => throw new System.NotImplementedException();
Microsoft.AspNetCore.Http.Results.Tests (2)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
429public Stream Stream => throw new NotImplementedException();
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
532public Stream Stream => throw new NotImplementedException();
Microsoft.AspNetCore.HttpLogging (1)
ResponseBufferingStream.cs (1)
42public Stream Stream => this;
Microsoft.AspNetCore.Mvc.Core.Test (2)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
429public Stream Stream => throw new NotImplementedException();
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
532public Stream Stream => throw new NotImplementedException();
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
159Stream IHttpResponseBodyFeature.Stream
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
ResponseCachingBenchmark.cs (1)
119public Stream Stream => Writer.AsStream();
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
84public Stream Stream => this;
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionMiddlewareTest.cs (1)
1355public Stream Stream => InnerFeature.Stream;
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
430Stream IHttpResponseBodyFeature.Stream => _responseStream;
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
190Stream IHttpResponseBodyFeature.Stream => ResponseBody;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
242Stream IHttpResponseBodyFeature.Stream => ResponseBody;
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
79public Stream Stream => _original.Stream;
Microsoft.AspNetCore.TestHost (1)
ResponseFeature.cs (1)
66public Stream Stream => Body;
12 references to Stream
Microsoft.AspNetCore.Http (2)
Internal\DefaultHttpResponse.cs (2)
69get { return HttpResponseBodyFeature.Stream; } 76&& object.ReferenceEquals(value, streamFeature.PriorFeature.Stream))
Microsoft.AspNetCore.Http.Tests (1)
Internal\DefaultHttpResponseTests.cs (1)
77responseBodyMock.Setup(o => o.Stream).Returns(originalStream);
Microsoft.AspNetCore.HttpLogging (2)
ResponseBufferingStream.cs (2)
31: base(innerBodyFeature.Stream, logger) 34_innerStream = innerBodyFeature.Stream;
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
66{ OwinConstants.ResponseBody, new FeatureMap<IHttpResponseBodyFeature>(feature => feature.Stream, () => Stream.Null, (feature, value) => context.Response.Body = (Stream)value) }, // DefaultHttpResponse.Body.Set has built in logic to handle replacing the feature.
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
36_innerStream = innerBodyFeature.Stream;
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionMiddlewareTest.cs (1)
1355public Stream Stream => InnerFeature.Stream;
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
79public Stream Stream => _original.Stream;
Microsoft.AspNetCore.StaticFiles.Tests (1)
StaticFileMiddlewareTests.cs (1)
89mockSendFile.Setup(m => m.Stream).Returns(Stream.Null);
Microsoft.AspNetCore.TestHost.Tests (2)
ClientHandlerTests.cs (2)
34Assert.NotNull(features.Get<IHttpResponseBodyFeature>().Stream); 85Assert.NotNull(features.Get<IHttpResponseBodyFeature>().Stream);