1 interface inheriting from IAsyncResultFilter
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\IAsyncAlwaysRunResultFilter.cs (1)
21
public interface IAsyncAlwaysRunResultFilter :
IAsyncResultFilter
4 implementations of IAsyncResultFilter
Microsoft.AspNetCore.Mvc.Core (3)
Filters\ActionFilterAttribute.cs (1)
15
Attribute, IActionFilter, IAsyncActionFilter, IResultFilter,
IAsyncResultFilter
, IOrderedFilter
Filters\ControllerResultFilter.cs (1)
11
internal sealed class ControllerResultFilter :
IAsyncResultFilter
, IOrderedFilter
Filters\ResultFilterAttribute.cs (1)
12
public abstract class ResultFilterAttribute : Attribute, IResultFilter,
IAsyncResultFilter
, IOrderedFilter
Microsoft.AspNetCore.Mvc.RazorPages (1)
Filters\PageHandlerResultFIlter.cs (1)
8
internal sealed class PageHandlerResultFilter :
IAsyncResultFilter
, IOrderedFilter
29 references to IAsyncResultFilter
Microsoft.AspNetCore.Mvc.Abstractions (12)
Filters\IAlwaysRunResultFilter.cs (2)
15
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> instances are not executed in cases where
17
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> implementations
Filters\IAsyncAlwaysRunResultFilter.cs (3)
11
/// The <see cref="IAsyncAlwaysRunResultFilter"/> interface declares an <see cref="
IAsyncResultFilter
"/> implementation
15
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> instances are not executed in cases where
17
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> implementations
Filters\IAsyncResultFilter.cs (3)
11
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> implementations are executed around the action
15
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> instances are not executed in cases where
17
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> implementations
Filters\IResultFilter.cs (3)
11
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> implementations are executed around the action
15
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> instances are not executed in cases where
17
/// <see cref="IResultFilter"/> and <see cref="
IAsyncResultFilter
"/> implementations
Filters\ResultExecutingContext.cs (1)
8
/// <see cref="
IAsyncResultFilter
.OnResultExecutionAsync"/> calls.
Microsoft.AspNetCore.Mvc.Core (15)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
197
if (typeof(
IAsyncResultFilter
).GetTypeInfo().IsAssignableFrom(typeInfo) ||
Filters\ControllerResultFilter.cs (1)
33
if (controller is
IAsyncResultFilter
asyncResultFilter)
Infrastructure\ResourceInvoker.cs (8)
1098
var lastTask = ResultNext<IResultFilter,
IAsyncResultFilter
>(ref next, ref scope, ref state, ref isCompleted);
1120
await invoker.ResultNext<IResultFilter,
IAsyncResultFilter
>(ref next, ref scope, ref state, ref isCompleted);
1127
where TFilterAsync : class,
IAsyncResultFilter
1181
nameof(
IAsyncResultFilter
.OnResultExecutionAsync),
1221
nameof(
IAsyncResultFilter
.OnResultExecutionAsync),
1352
where TFilterAsync : class,
IAsyncResultFilter
1406
where TFilterAsync : class,
IAsyncResultFilter
1436
typeof(
IAsyncResultFilter
).Name,
MvcCoreDiagnosticListenerExtensions.cs (4)
772
IAsyncResultFilter
filter)
785
private static void BeforeOnResultExecutionImpl(DiagnosticListener diagnosticListener, ResultExecutingContext resultExecutingContext,
IAsyncResultFilter
filter)
802
IAsyncResultFilter
filter)
815
private static void AfterOnResultExecutionImpl(DiagnosticListener diagnosticListener, ResultExecutedContext resultExecutedContext,
IAsyncResultFilter
filter)
MvcCoreLoggerExtensions.cs (1)
76
var resultFilters = filters.Where(f => f is IResultFilter || f is
IAsyncResultFilter
);
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\DefaultPageApplicationModelProvider.cs (1)
170
if (typeof(
IAsyncResultFilter
).IsAssignableFrom(pageModel.HandlerType) ||
Filters\PageHandlerResultFIlter.cs (1)
28
if (handler is
IAsyncResultFilter
asyncResultFilter)