internal bool IsOptInIntegrationEnabled(string name) { if (TraceEnabled && !DomainMetadata.ShouldAvoidAppDomain()) { var disabled = Integrations[name].Enabled != true || DisabledIntegrationNames.Contains(name); return(!disabled); } return(false); }
internal bool IsIntegrationEnabled(string name) { return(TraceEnabled && Integrations[name].Enabled != false && !DisabledIntegrationNames.Contains(name)); }
internal bool IsIntegrationEnabled(string name) { bool disabled = Integrations[name].Enabled == false || DisabledIntegrationNames.Contains(name); return(TraceEnabled && !disabled); }