Conditionally change namespace for common classes to avoid ambiguity
This commit is contained in:
Родитель
5cdea79890
Коммит
9bfa311fa1
|
@ -4,6 +4,11 @@
|
|||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
#if DEPENDENCY_COLLECTOR
|
||||
using Microsoft.ApplicationInsights.Common;
|
||||
#else
|
||||
using Microsoft.ApplicationInsights.Common.Internal;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Generic functions that can be used to get and set Http headers.
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
namespace Microsoft.ApplicationInsights.Common
|
||||
#if DEPENDENCY_COLLECTOR
|
||||
namespace Microsoft.ApplicationInsights.Common
|
||||
#else
|
||||
namespace Microsoft.ApplicationInsights.Common.Internal
|
||||
#endif
|
||||
{
|
||||
/// <summary>
|
||||
/// These values are listed to guard against malicious injections by limiting the max size allowed in an HTTP Response.
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
namespace Microsoft.ApplicationInsights.Common
|
||||
#if DEPENDENCY_COLLECTOR
|
||||
namespace Microsoft.ApplicationInsights.Common
|
||||
#else
|
||||
namespace Microsoft.ApplicationInsights.Common.Internal
|
||||
#endif
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
|
|
@ -10,7 +10,11 @@
|
|||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
#if DEPENDENCY_COLLECTOR
|
||||
using Microsoft.ApplicationInsights.Common;
|
||||
#else
|
||||
using Microsoft.ApplicationInsights.Common.Internal;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Extends Activity to support W3C distributed tracing standard.
|
||||
|
|
|
@ -9,11 +9,15 @@ namespace Microsoft.ApplicationInsights.W3C.Internal
|
|||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using Microsoft.ApplicationInsights.Channel;
|
||||
using Microsoft.ApplicationInsights.Common;
|
||||
using Microsoft.ApplicationInsights.Channel;
|
||||
using Microsoft.ApplicationInsights.DataContracts;
|
||||
using Microsoft.ApplicationInsights.Extensibility;
|
||||
using Microsoft.ApplicationInsights.Extensibility.Implementation;
|
||||
#if DEPENDENCY_COLLECTOR
|
||||
using Microsoft.ApplicationInsights.Common;
|
||||
#else
|
||||
using Microsoft.ApplicationInsights.Common.Internal;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Telemetry Initializer that sets correlation ids for W3C.
|
||||
|
|
Загрузка…
Ссылка в новой задаче