1 implementation of IExceptionFilter
Microsoft.AspNetCore.Mvc.Core (1)
Filters\ExceptionFilterAttribute.cs (1)
11
public abstract class ExceptionFilterAttribute : Attribute, IAsyncExceptionFilter,
IExceptionFilter
, IOrderedFilter
14 references to IExceptionFilter
Microsoft.AspNetCore.Mvc.Abstractions (2)
Filters\ExceptionContext.cs (1)
9
/// A context for exception filters i.e. <see cref="
IExceptionFilter
"/> and
Filters\FilterDescriptor.cs (1)
21
/// For <see cref="
IExceptionFilter
"/> implementations, the filter runs only after an exception has occurred,
Microsoft.AspNetCore.Mvc.Core (12)
Diagnostics\MvcDiagnostics.cs (2)
522
/// An <see cref="EventData"/> that occurs before <see cref="
IExceptionFilter
.OnException(ExceptionContext)"/>.
573
/// An <see cref="EventData"/> that occurs after <see cref="
IExceptionFilter
.OnException(ExceptionContext)"/>.
Infrastructure\ResourceInvoker.cs (5)
632
var current = _cursor.GetNextFilter<
IExceptionFilter
, IAsyncExceptionFilter>();
739
var
filter = (
IExceptionFilter
)state;
749
nameof(
IExceptionFilter
.OnException),
757
nameof(
IExceptionFilter
.OnException),
MvcCoreDiagnosticListenerExtensions.cs (4)
439
IExceptionFilter
filter)
452
private static void BeforeOnExceptionImpl(DiagnosticListener diagnosticListener, ExceptionContext exceptionContext,
IExceptionFilter
filter)
469
IExceptionFilter
filter)
482
private static void AfterOnExceptionImpl(DiagnosticListener diagnosticListener, ExceptionContext exceptionContext,
IExceptionFilter
filter)
MvcCoreLoggerExtensions.cs (1)
65
var exceptionFilters = filters.Where(f => f is
IExceptionFilter
|| f is IAsyncExceptionFilter);