6 references to EnvironmentVariableValueRule
dotnet-aot (5)
parent\dotnet\Telemetry\LLMEnvironmentDetectorForTelemetry.cs (5)
43
new EnvironmentDetectionRuleWithResult<string>("copilot-app", new
EnvironmentVariableValueRule
(getEnvironmentVariable, "AI_AGENT", "github_copilot_app_agent")),
47
new
EnvironmentVariableValueRule
(getEnvironmentVariable, "AI_AGENT", "github_copilot_vscode_agent"),
52
new EnvironmentDetectionRuleWithResult<string>("aider", new
EnvironmentVariableValueRule
(getEnvironmentVariable, "OR_APP_NAME", "Aider")),
54
new EnvironmentDetectionRuleWithResult<string>("plandex", new
EnvironmentVariableValueRule
(getEnvironmentVariable, "OR_APP_NAME", "plandex")),
68
new EnvironmentDetectionRuleWithResult<string>("openhands", new
EnvironmentVariableValueRule
(getEnvironmentVariable, "OR_APP_NAME", "OpenHands")),
Microsoft.DotNet.Cli.Definitions (1)
Telemetry\EnvironmentDetectionRule.cs (1)
118
:
this
(Environment.GetEnvironmentVariable, variable, expectedValue)