11 instantiations of ObjectResultExecutor
Microsoft.AspNetCore.Mvc.Core.Test (11)
AcceptedAtActionResultTests.cs (1)
271services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
AcceptedAtRouteResultTests.cs (1)
179services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
AcceptedResultTests.cs (1)
136services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
CreatedAtActionResultTests.cs (1)
91services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
CreatedAtRouteResultTests.cs (1)
105services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
CreatedResultTests.cs (1)
138services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
HttpNotFoundObjectResultTest.cs (1)
71services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
HttpOkObjectResultTest.cs (1)
73services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
Infrastructure\ControllerActionInvokerTest.cs (1)
1710services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
Infrastructure\ObjectResultExecutorTest.cs (1)
482return new ObjectResultExecutor(selector, new TestHttpResponseStreamWriterFactory(), NullLoggerFactory.Instance, optionsAccessor);
ObjectResultTests.cs (1)
160services.AddSingleton<IActionResultExecutor<ObjectResult>>(new ObjectResultExecutor(
24 references to ObjectResultExecutor
Microsoft.AspNetCore.Mvc.Core (5)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
235services.TryAddSingleton<IActionResultExecutor<ObjectResult>, ObjectResultExecutor>();
Infrastructure\ObjectResultExecutor.cs (2)
21/// Creates a new <see cref="ObjectResultExecutor"/>. 39Logger = loggerFactory.CreateLogger<ObjectResultExecutor>();
MvcOptions.cs (2)
362/// that <see cref="ObjectResultExecutor"/> will buffer. 365/// <see cref="ObjectResultExecutor"/> will eagerly read the enumeration and add to a synchronous collection
Microsoft.AspNetCore.Mvc.Core.Test (19)
Infrastructure\ObjectResultExecutorTest.cs (18)
22var executor = CreateExecutor(); 50var executor = CreateExecutor(); 73var executor = CreateExecutor(); 95var executor = CreateExecutor(); 116var executor = CreateExecutor(); 141var executor = CreateExecutor(); 163var executor = CreateExecutor(); 185var executor = CreateExecutor(); 211var executor = CreateExecutor(); 236var executor = CreateExecutor(); 257var executor = CreateExecutor(); 286var executor = CreateExecutor(options: options); 310var executor = CreateExecutor(); 345var executor = CreateExecutor(); 379var executor = CreateExecutor(options: options); 416var executor = CreateExecutor(options: options); 440var executor = CreateExecutor(); 477private static ObjectResultExecutor CreateExecutor(MvcOptions options = null)
MvcCoreLoggerExtensionsTest.cs (1)
416ObjectResultExecutor.Log.NoFormatter(logger, context.Object, mediaTypes);