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