15 references to Invoke
Microsoft.AspNetCore.Diagnostics (2)
ExceptionHandler\ExceptionHandlerExtensions.cs (1)
135
return new ExceptionHandlerMiddlewareImpl(next, loggerFactory, options, diagnosticListener, exceptionHandlers, meterFactory, problemDetailsService).
Invoke
;
ExceptionHandler\ExceptionHandlerMiddleware.cs (1)
48
=> _innerMiddlewareImpl.
Invoke
(context);
Microsoft.AspNetCore.Diagnostics.Tests (13)
ExceptionHandlerMiddlewareTest.cs (13)
111
await middleware.
Invoke
(httpContext);
135
await middleware.
Invoke
(httpContext);
173
await middleware.
Invoke
(httpContext);
195
await middleware.
Invoke
(httpContext);
234
await middleware.
Invoke
(httpContext);
270
await middleware.
Invoke
(httpContext);
300
await middleware.
Invoke
(httpContext);
322
await middleware.
Invoke
(httpContext);
345
await middleware.
Invoke
(httpContext);
367
await Assert.ThrowsAsync<InvalidOperationException>(() => middleware.
Invoke
(httpContext));
392
await middleware.
Invoke
(httpContext);
543
await Assert.ThrowsAsync<InvalidOperationException>(() => middleware.
Invoke
(httpContext));
569
await middleware.
Invoke
(httpContext);