3 instantiations of ObjectMethodExecutor
Microsoft.AspNetCore.Mvc.Core (3)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (3)
107
return new
ObjectMethodExecutor
(methodInfo, targetTypeInfo, null);
116
return new
ObjectMethodExecutor
(methodInfo, targetTypeInfo, parameterDefaultValues);
129
return new
ObjectMethodExecutor
(methodInfo, targetTypeInfo, isTrimAotCompatible: true);
43 references to ObjectMethodExecutor
Microsoft.AspNetCore.Mvc.Core (43)
Infrastructure\ActionMethodExecutor.cs (30)
35
ObjectMethodExecutor
executor,
39
protected abstract bool CanExecute(
ObjectMethodExecutor
executor);
43
public static ActionMethodExecutor GetExecutor(
ObjectMethodExecutor
executor)
71
ObjectMethodExecutor
executor,
86
protected override bool CanExecute(
ObjectMethodExecutor
executor)
99
ObjectMethodExecutor
executor,
109
var
executor = invocationContext.Executor;
117
protected override bool CanExecute(
ObjectMethodExecutor
executor)
128
ObjectMethodExecutor
executor,
140
var
executor = invocationContext.Executor;
150
protected override bool CanExecute(
ObjectMethodExecutor
executor)
161
ObjectMethodExecutor
executor,
173
var
executor = invocationContext.Executor;
185
protected override bool CanExecute(
ObjectMethodExecutor
executor) => !executor.IsMethodAsync;
194
ObjectMethodExecutor
executor,
204
var
executor = invocationContext.Executor;
212
protected override bool CanExecute(
ObjectMethodExecutor
executor) => executor.MethodReturnType == typeof(Task);
222
ObjectMethodExecutor
executor,
232
var
executor = invocationContext.Executor;
240
protected override bool CanExecute(
ObjectMethodExecutor
executor)
253
ObjectMethodExecutor
executor,
268
var
executor = invocationContext.Executor;
281
protected override bool CanExecute(
ObjectMethodExecutor
executor)
292
ObjectMethodExecutor
executor,
305
var
executor = invocationContext.Executor;
316
protected override bool CanExecute(
ObjectMethodExecutor
executor)
330
ObjectMethodExecutor
executor,
342
var
executor = invocationContext.Executor;
352
protected override bool CanExecute(
ObjectMethodExecutor
executor) => true;
355
private static void EnsureActionResultNotNull(
ObjectMethodExecutor
executor, IActionResult actionResult)
Infrastructure\ControllerActionInvoker.cs (3)
386
var
objectMethodExecutor = _cacheEntry.ObjectMethodExecutor;
410
var
objectMethodExecutor = invoker._cacheEntry.ObjectMethodExecutor;
529
ObjectMethodExecutor
actionMethodExecutor)
Infrastructure\ControllerActionInvokerCache.cs (2)
57
var
objectMethodExecutor =
ObjectMethodExecutor
.Create(
Infrastructure\ControllerActionInvokerCacheEntry.cs (2)
17
ObjectMethodExecutor
objectMethodExecutor,
38
internal
ObjectMethodExecutor
ObjectMethodExecutor { get; }
Infrastructure\ControllerEndpointFilterInvocationContext.cs (2)
17
ObjectMethodExecutor
executor,
36
internal
ObjectMethodExecutor
Executor { get; }
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (3)
105
public static
ObjectMethodExecutor
Create(MethodInfo methodInfo, TypeInfo targetTypeInfo)
112
public static
ObjectMethodExecutor
Create(MethodInfo methodInfo, TypeInfo targetTypeInfo, object?[] parameterDefaultValues)
127
public static
ObjectMethodExecutor
CreateTrimAotCompatible(MethodInfo methodInfo, TypeInfo targetTypeInfo)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorAwaitable.cs (1)
12
/// Provides a common awaitable structure that <see cref="
ObjectMethodExecutor
.ExecuteAsync"/> can