1 write to _diagnosticListener
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ResourceInvoker.cs (1)
46
_diagnosticListener
= diagnosticListener ?? throw new ArgumentNullException(nameof(diagnosticListener));
34 references to _diagnosticListener
Microsoft.AspNetCore.Mvc.Core (34)
Infrastructure\ControllerActionInvoker.cs (8)
122
_diagnosticListener
.BeforeOnActionExecution(actionExecutingContext, filter);
160
_diagnosticListener
.AfterOnActionExecution(_actionExecutedContext, filter);
177
_diagnosticListener
.BeforeOnActionExecuting(actionExecutingContext, filter);
185
_diagnosticListener
.AfterOnActionExecuting(actionExecutingContext, filter);
227
_diagnosticListener
.BeforeOnActionExecuted(actionExecutedContext, filter);
235
_diagnosticListener
.AfterOnActionExecuted(actionExecutedContext, filter);
381
if (
_diagnosticListener
.IsEnabled() || _logger.IsEnabled(LogLevel.Trace))
416
var diagnosticListener = invoker.
_diagnosticListener
;
Infrastructure\ResourceInvoker.cs (26)
59
if (
_diagnosticListener
.IsEnabled() || _logger.IsEnabled(LogLevel.Information))
104
invoker.
_diagnosticListener
.BeforeAction(
134
invoker.
_diagnosticListener
.AfterAction(
263
if (
_diagnosticListener
.IsEnabled() || _logger.IsEnabled(LogLevel.Trace))
274
invoker.
_diagnosticListener
.BeforeActionResult(actionContext, result);
283
invoker.
_diagnosticListener
.AfterActionResult(actionContext, result);
341
_diagnosticListener
.BeforeOnAuthorizationAsync(authorizationContext, filter);
365
_diagnosticListener
.AfterOnAuthorizationAsync(authorizationContext, filter);
387
_diagnosticListener
.BeforeOnAuthorization(authorizationContext, filter);
395
_diagnosticListener
.AfterOnAuthorization(authorizationContext, filter);
477
_diagnosticListener
.BeforeOnResourceExecution(resourceExecutingContext, filter);
519
_diagnosticListener
.AfterOnResourceExecution(_resourceExecutedContext, filter);
536
_diagnosticListener
.BeforeOnResourceExecuting(resourceExecutingContext, filter);
544
_diagnosticListener
.AfterOnResourceExecuting(resourceExecutingContext, filter);
580
_diagnosticListener
.BeforeOnResourceExecuted(resourceExecutedContext, filter);
588
_diagnosticListener
.AfterOnResourceExecuted(resourceExecutedContext, filter);
675
_diagnosticListener
.BeforeOnExceptionAsync(exceptionContext, filter);
702
_diagnosticListener
.AfterOnExceptionAsync(exceptionContext, filter);
742
_diagnosticListener
.BeforeOnException(exceptionContext, filter);
750
_diagnosticListener
.AfterOnException(exceptionContext, filter);
1174
_diagnosticListener
.BeforeOnResultExecution(resultExecutingContext, filter);
1214
_diagnosticListener
.AfterOnResultExecution(_resultExecutedContext!, filter);
1231
_diagnosticListener
.BeforeOnResultExecuting(resultExecutingContext, filter);
1239
_diagnosticListener
.AfterOnResultExecuting(resultExecutingContext, filter);
1281
_diagnosticListener
.BeforeOnResultExecuted(resultExecutedContext, filter);
1289
_diagnosticListener
.AfterOnResultExecuted(resultExecutedContext, filter);