1 write to IsMethodAsync
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
42IsMethodAsync = isAwaitable;
7 references to IsMethodAsync
Microsoft.AspNetCore.Mvc.Core (7)
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 (1)
50if (IsMethodAsync)