30 references to Enabled
aspire (2)
Telemetry\ProfilingTelemetry.cs (2)
257return IsTruthy(configuration[EnvironmentVariables.Enabled]) || 279environment[EnvironmentVariables.Enabled] = "true";
Aspire.Cli.Tests (28)
Commands\AppHostLauncherTests.cs (5)
960Assert.Equal("true", environment[ProfilingTelemetry.EnvironmentVariables.Enabled]); 1012(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"))); 1021Assert.Equal("true", environment[ProfilingTelemetry.EnvironmentVariables.Enabled]); 1039Assert.False(environment.ContainsKey(ProfilingTelemetry.EnvironmentVariables.Enabled)); 1051Assert.False(environment.ContainsKey(ProfilingTelemetry.EnvironmentVariables.Enabled));
Commands\LsCommandTests.cs (1)
776config[ProfilingTelemetry.EnvironmentVariables.Enabled] = "true";
DotNet\DotNetCliRunnerTests.cs (3)
738config[ProfilingTelemetry.EnvironmentVariables.Enabled] = "true"; 757Assert.Equal("true", env[ProfilingTelemetry.EnvironmentVariables.Enabled]); 797config[ProfilingTelemetry.EnvironmentVariables.Enabled] = "true";
Git\GitRepositoryTests.cs (1)
120(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"),
Projects\AppHostCandidateFinderTests.cs (2)
220(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 276(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"),
Projects\AppHostServerSessionTests.cs (4)
61(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 74Assert.False(environmentVariables.ContainsKey(ProfilingTelemetry.EnvironmentVariables.Enabled)); 79Assert.Equal("true", receivedEnvironmentVariables[ProfilingTelemetry.EnvironmentVariables.Enabled]); 96(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"),
Projects\GuestRuntimeTests.cs (2)
261(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 964(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"),
Telemetry\ProfilingTelemetryContextTests.cs (3)
28Assert.Equal("true", environment[ProfilingTelemetry.EnvironmentVariables.Enabled]); 67(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 93(ProfilingTelemetry.EnvironmentVariables.Enabled, enabled)));
Telemetry\ProfilingTelemetryTests.cs (7)
33(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 52(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 122(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 168(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 293(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"))); 326(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"))); 357(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"),