70 references to IsEnabled
Aspire.Hosting (4)
DistributedApplicationBuilder.cs (4)
390if (diagnosticListener.IsEnabled() && diagnosticListener.IsEnabled(BuilderConstructingEventName)) 402if (diagnosticListener.IsEnabled() && diagnosticListener.IsEnabled(BuilderConstructedEventName)) 414if (diagnosticListener.IsEnabled() && diagnosticListener.IsEnabled(ApplicationBuildingEventName)) 426if (diagnosticListener.IsEnabled() && diagnosticListener.IsEnabled(ApplicationBuiltEventName))
Microsoft.AspNetCore.Diagnostics (1)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (1)
208if (_diagnosticListener.IsEnabled() && _diagnosticListener.IsEnabled(eventName))
Microsoft.AspNetCore.Hosting (2)
Internal\HostingApplicationDiagnostics.cs (2)
87var diagnosticListenerEnabled = _diagnosticListener.IsEnabled(); 184if (_diagnosticListener.IsEnabled())
Microsoft.AspNetCore.Mvc.Core (35)
Infrastructure\ControllerActionInvoker.cs (1)
381if (_diagnosticListener.IsEnabled() || _logger.IsEnabled(LogLevel.Trace))
Infrastructure\ResourceInvoker.cs (2)
59if (_diagnosticListener.IsEnabled() || _logger.IsEnabled(LogLevel.Information)) 263if (_diagnosticListener.IsEnabled() || _logger.IsEnabled(LogLevel.Trace))
MvcCoreDiagnosticListenerExtensions.cs (32)
32if (diagnosticListener.IsEnabled()) 60if (diagnosticListener.IsEnabled()) 86if (diagnosticListener.IsEnabled()) 116if (diagnosticListener.IsEnabled()) 146if (diagnosticListener.IsEnabled()) 176if (diagnosticListener.IsEnabled()) 206if (diagnosticListener.IsEnabled()) 236if (diagnosticListener.IsEnabled()) 266if (diagnosticListener.IsEnabled()) 296if (diagnosticListener.IsEnabled()) 326if (diagnosticListener.IsEnabled()) 356if (diagnosticListener.IsEnabled()) 386if (diagnosticListener.IsEnabled()) 416if (diagnosticListener.IsEnabled()) 446if (diagnosticListener.IsEnabled()) 476if (diagnosticListener.IsEnabled()) 506if (diagnosticListener.IsEnabled()) 536if (diagnosticListener.IsEnabled()) 566if (diagnosticListener.IsEnabled()) 596if (diagnosticListener.IsEnabled()) 626if (diagnosticListener.IsEnabled()) 656if (diagnosticListener.IsEnabled()) 688if (diagnosticListener.IsEnabled()) 734if (diagnosticListener.IsEnabled()) 779if (diagnosticListener.IsEnabled()) 809if (diagnosticListener.IsEnabled()) 839if (diagnosticListener.IsEnabled()) 869if (diagnosticListener.IsEnabled()) 899if (diagnosticListener.IsEnabled()) 929if (diagnosticListener.IsEnabled()) 959if (diagnosticListener.IsEnabled()) 985if (diagnosticListener.IsEnabled())
Microsoft.AspNetCore.Mvc.Razor (2)
MvcRazorDiagnosticListenerExtensions.cs (2)
18if (diagnosticListener.IsEnabled()) 48if (diagnosticListener.IsEnabled())
Microsoft.AspNetCore.Mvc.RazorPages (12)
MvcRazorPagesDiagnosticListenerExtensions.cs (12)
27if (diagnosticListener.IsEnabled()) 63if (diagnosticListener.IsEnabled()) 95if (diagnosticListener.IsEnabled()) 125if (diagnosticListener.IsEnabled()) 155if (diagnosticListener.IsEnabled()) 185if (diagnosticListener.IsEnabled()) 215if (diagnosticListener.IsEnabled()) 245if (diagnosticListener.IsEnabled()) 275if (diagnosticListener.IsEnabled()) 305if (diagnosticListener.IsEnabled()) 335if (diagnosticListener.IsEnabled()) 365if (diagnosticListener.IsEnabled())
Microsoft.AspNetCore.Mvc.ViewFeatures (9)
MvcViewFeaturesDiagnosticListenerExtensions.cs (8)
20if (diagnosticListener.IsEnabled()) 47if (diagnosticListener.IsEnabled()) 74if (diagnosticListener.IsEnabled()) 100if (diagnosticListener.IsEnabled()) 126if (diagnosticListener.IsEnabled()) 148if (diagnosticListener.IsEnabled()) 173if (diagnosticListener.IsEnabled()) 204if (diagnosticListener.IsEnabled())
ViewResultExecutor.cs (1)
99if (DiagnosticListener.IsEnabled())
Microsoft.AspNetCore.Routing (1)
EndpointRoutingMiddleware.cs (1)
113if (_diagnosticListener.IsEnabled() && _diagnosticListener.IsEnabled(DiagnosticsEndpointMatchedKey))
Microsoft.Extensions.Hosting (3)
HostBuilder.cs (3)
177if (diagnosticListener.IsEnabled() && diagnosticListener.IsEnabled(HostBuildingEventName)) 189if (diagnosticListener.IsEnabled() && diagnosticListener.IsEnabled(HostBuildingEventName)) 379if (diagnosticListener.IsEnabled() && diagnosticListener.IsEnabled(HostBuiltEventName))
System.Net.Http (1)
System\Net\Http\DiagnosticsHandler.cs (1)
53s_diagnosticListener.IsEnabled();