コード例 #1
0
        internal bool IsOptInIntegrationEnabled(string name)
        {
            if (TraceEnabled && !DomainMetadata.ShouldAvoidAppDomain())
            {
                var disabled = Integrations[name].Enabled != true || DisabledIntegrationNames.Contains(name);
                return(!disabled);
            }

            return(false);
        }
コード例 #2
0
 internal bool IsIntegrationEnabled(string name)
 {
     return(TraceEnabled &&
            Integrations[name].Enabled != false &&
            !DisabledIntegrationNames.Contains(name));
 }
コード例 #3
0
        internal bool IsIntegrationEnabled(string name)
        {
            bool disabled = Integrations[name].Enabled == false || DisabledIntegrationNames.Contains(name);

            return(TraceEnabled && !disabled);
        }