2 implementations of IHttpRequestStreamReaderFactory
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\MemoryPoolHttpRequestStreamReaderFactory.cs (1)
15internal sealed class MemoryPoolHttpRequestStreamReaderFactory : IHttpRequestStreamReaderFactory
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
TestHttpRequestStreamReaderFactory.cs (1)
10public class TestHttpRequestStreamReaderFactory : IHttpRequestStreamReaderFactory
20 references to IHttpRequestStreamReaderFactory
Microsoft.AspNetCore.Mvc.Core (18)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
230services.TryAddSingleton<IHttpRequestStreamReaderFactory, MemoryPoolHttpRequestStreamReaderFactory>();
Infrastructure\MemoryPoolHttpRequestStreamReaderFactory.cs (1)
13/// An <see cref="IHttpRequestStreamReaderFactory"/> that uses pooled buffers.
Infrastructure\MvcCoreMvcOptionsSetup.cs (3)
25private readonly IHttpRequestStreamReaderFactory _readerFactory; 29public MvcCoreMvcOptionsSetup(IHttpRequestStreamReaderFactory readerFactory) 34public MvcCoreMvcOptionsSetup(IHttpRequestStreamReaderFactory readerFactory, ILoggerFactory loggerFactory, IOptions<JsonOptions> jsonOptions)
ModelBinding\Binders\BodyModelBinder.cs (6)
32/// The <see cref="IHttpRequestStreamReaderFactory"/>, used to create <see cref="System.IO.TextReader"/> 35public BodyModelBinder(IList<IInputFormatter> formatters, IHttpRequestStreamReaderFactory readerFactory) 45/// The <see cref="IHttpRequestStreamReaderFactory"/>, used to create <see cref="System.IO.TextReader"/> 51IHttpRequestStreamReaderFactory readerFactory, 62/// The <see cref="IHttpRequestStreamReaderFactory"/>, used to create <see cref="System.IO.TextReader"/> 69IHttpRequestStreamReaderFactory readerFactory,
ModelBinding\Binders\BodyModelBinderProvider.cs (7)
20private readonly IHttpRequestStreamReaderFactory _readerFactory; 28/// <param name="readerFactory">The <see cref="IHttpRequestStreamReaderFactory"/>.</param> 29public BodyModelBinderProvider(IList<IInputFormatter> formatters, IHttpRequestStreamReaderFactory readerFactory) 38/// <param name="readerFactory">The <see cref="IHttpRequestStreamReaderFactory"/>.</param> 40public BodyModelBinderProvider(IList<IInputFormatter> formatters, IHttpRequestStreamReaderFactory readerFactory, ILoggerFactory loggerFactory) 49/// <param name="readerFactory">The <see cref="IHttpRequestStreamReaderFactory"/>.</param> 54IHttpRequestStreamReaderFactory readerFactory,
Microsoft.AspNetCore.Mvc.Core.Test (2)
Controllers\ControllerBinderDelegateProviderTest.cs (1)
1134var modelBinderProvider = new BodyModelBinderProvider(new[] { Mock.Of<IInputFormatter>() }, Mock.Of<IHttpRequestStreamReaderFactory>());
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1197var optionsSetup = new MvcCoreMvcOptionsSetup(Mock.Of<IHttpRequestStreamReaderFactory>());