2 writes to IsMethodAsync
Microsoft.AspNetCore.Mvc.Core (2)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
47IsMethodAsync = isAwaitable; 70IsMethodAsync = isAwaitable;
8 references to IsMethodAsync
Microsoft.AspNetCore.Mvc.Core (8)
Infrastructure\ActionMethodExecutor.cs (6)
77return ConvertToActionResult(mapper, result, executor.IsMethodAsync ? executor.AsyncResultType! : executor.MethodReturnType); 118=> !executor.IsMethodAsync && executor.MethodReturnType == typeof(void); 151=> !executor.IsMethodAsync && typeof(IActionResult).IsAssignableFrom(executor.MethodReturnType); 185protected override bool CanExecute(ObjectMethodExecutor executor) => !executor.IsMethodAsync; 243return executor.IsMethodAsync && executor.AsyncResultType == typeof(void); 319return executor.IsMethodAsync && typeof(IActionResult).IsAssignableFrom(executor.AsyncResultType);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
55if (IsMethodAsync) 78if (IsMethodAsync)