30 references to Enabled
aspire (2)
Telemetry\ProfilingTelemetry.cs (2)
259return IsTruthy(configuration[EnvironmentVariables.Enabled]) || 281environment[EnvironmentVariables.Enabled] = "true";
Aspire.Cli.Tests (28)
Commands\AppHostLauncherTests.cs (5)
860Assert.Equal("true", environment[ProfilingTelemetry.EnvironmentVariables.Enabled]); 912(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"))); 921Assert.Equal("true", environment[ProfilingTelemetry.EnvironmentVariables.Enabled]); 939Assert.False(environment.ContainsKey(ProfilingTelemetry.EnvironmentVariables.Enabled)); 951Assert.False(environment.ContainsKey(ProfilingTelemetry.EnvironmentVariables.Enabled));
Commands\LsCommandTests.cs (1)
776config[ProfilingTelemetry.EnvironmentVariables.Enabled] = "true";
DotNet\DotNetCliRunnerTests.cs (3)
706config[ProfilingTelemetry.EnvironmentVariables.Enabled] = "true"; 725Assert.Equal("true", env[ProfilingTelemetry.EnvironmentVariables.Enabled]); 765config[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)
60(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 73Assert.False(environmentVariables.ContainsKey(ProfilingTelemetry.EnvironmentVariables.Enabled)); 78Assert.Equal("true", receivedEnvironmentVariables[ProfilingTelemetry.EnvironmentVariables.Enabled]); 95(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"),
Projects\GuestRuntimeTests.cs (2)
263(ProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 777(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"),