2 instantiations of AppInsightsTelemetryClient
dotnet-svcutil-lib (2)
AppInsightsTelemetryClient.cs (2)
91
return new
AppInsightsTelemetryClient
(null);
100
s_instance = new
AppInsightsTelemetryClient
(new TelemetryClient(config));
11 references to AppInsightsTelemetryClient
dotnet-svcutil-lib (8)
AppInsightsTelemetryClient.cs (2)
65
private static
AppInsightsTelemetryClient
s_instance = null;
73
public static async Task<
AppInsightsTelemetryClient
> GetInstanceAsync(CancellationToken cancellationToken)
Tool.cs (5)
91
AppInsightsTelemetryClient
.IsUserOptedIn = false;
186
var
telemetryClient = await
AppInsightsTelemetryClient
.GetInstanceAsync(cancellationToken).ConfigureAwait(false);
403
var
telemetryClient = await
AppInsightsTelemetryClient
.GetInstanceAsync(CancellationToken.None).ConfigureAwait(false);
ToolConsole.cs (1)
221
if (
AppInsightsTelemetryClient
.IsUserOptedIn)
dotnet-svcutil-lib.Tests (3)
ProjectUtils.cs (2)
89
var envVars = new Dictionary<string, string> { {
AppInsightsTelemetryClient
.OptOutVariable, (!
AppInsightsTelemetryClient
.IsUserOptedIn).ToString() } };
TestInit.cs (1)
128
AppInsightsTelemetryClient
.IsUserOptedIn = false;