1 interface inheriting from IExceptionFilter
Microsoft.AspNetCore.Mvc.Core.Test (1)
MvcCoreLoggerExtensionsTest.cs (1)
489
public interface IOrderedExceptionFilter :
IExceptionFilter
, IAsyncExceptionFilter, IOrderedFilter { }
2 implementations of IExceptionFilter
Microsoft.AspNetCore.Mvc.Core (1)
Filters\ExceptionFilterAttribute.cs (1)
11
public abstract class ExceptionFilterAttribute : Attribute, IAsyncExceptionFilter,
IExceptionFilter
, IOrderedFilter
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1811
private class UnsupportedFiltersController :
IExceptionFilter
, IAuthorizationFilter, IAsyncResourceFilter
55 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)
628
var current = _cursor.GetNextFilter<
IExceptionFilter
, IAsyncExceptionFilter>();
735
var
filter = (
IExceptionFilter
)state;
745
nameof(
IExceptionFilter
.OnException),
753
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);
Microsoft.AspNetCore.Mvc.Core.Test (13)
Infrastructure\ControllerActionInvokerTest.cs (1)
782
var exceptionFilter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
MvcCoreLoggerExtensionsTest.cs (12)
132
var
exceptionFilter = Mock.Of<
IExceptionFilter
>();
177
var
exceptionFilter = Mock.Of<
IExceptionFilter
>();
220
var
exceptionFilter = Mock.Of<
IExceptionFilter
>();
269
var
exceptionFilter = Mock.Of<
IExceptionFilter
>();
312
var
exceptionFilter = Mock.Of<
IExceptionFilter
>();
358
var
exceptionFilter = Mock.Of<
IExceptionFilter
>();
Microsoft.AspNetCore.Mvc.Core.TestCommon (27)
CommonResourceInvokerTest.cs (27)
39
var filter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
86
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
90
var filter2 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
166
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
168
var filter2 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
199
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
201
var filter2 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
233
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
235
var filter2 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
265
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
267
var filter2 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
299
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
333
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
368
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
401
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
452
var filter2 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
477
var filter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
501
var filter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
529
var filter1 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
535
var filter2 = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
560
var exceptionFilter = new Mock<
IExceptionFilter
>();
693
var exceptionFilter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
1252
var exceptionFilter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
1549
var exceptionFilter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
1597
var exceptionFilter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
1974
var exceptionFilter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
2003
var exceptionFilter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionInvokerTest.cs (1)
1312
var exceptionFilter = new Mock<
IExceptionFilter
>(MockBehavior.Strict);