Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsEnabled()

static bool System.Net.Http.DiagnosticsHandler.IsEnabled ( )
inlinestaticprivate

Definition at line 161 of file DiagnosticsHandler.cs.

162 {
163 if (Activity.Current == null)
164 {
165 return s_diagnosticListener.IsEnabled();
166 }
167 return true;
168 }
static ? Activity Current
Definition Activity.cs:662
static readonly DiagnosticListener s_diagnosticListener

References System.Diagnostics.Activity.Current, and System.Net.Http.DiagnosticsHandler.s_diagnosticListener.

Referenced by System.Net.Http.DiagnosticsHandler.SendAsync().