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