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