1 implementation of IExceptionFilter
Microsoft.AspNetCore.Mvc.Core (1)
Filters\ExceptionFilterAttribute.cs (1)
11public 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)
632var current = _cursor.GetNextFilter<IExceptionFilter, IAsyncExceptionFilter>(); 739var filter = (IExceptionFilter)state; 749nameof(IExceptionFilter.OnException), 757nameof(IExceptionFilter.OnException),
MvcCoreDiagnosticListenerExtensions.cs (4)
439IExceptionFilter filter) 452private static void BeforeOnExceptionImpl(DiagnosticListener diagnosticListener, ExceptionContext exceptionContext, IExceptionFilter filter) 469IExceptionFilter filter) 482private static void AfterOnExceptionImpl(DiagnosticListener diagnosticListener, ExceptionContext exceptionContext, IExceptionFilter filter)
MvcCoreLoggerExtensions.cs (1)
65var exceptionFilters = filters.Where(f => f is IExceptionFilter || f is IAsyncExceptionFilter);