6 references to HookOptionName
aspire (6)
Agents\Hooks\TelemetryHookConfigurator.cs (5)
124var (command, args) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.HookOptionName); 242var (command, args) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.HookOptionName); 328var (currentCommand, _) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.HookOptionName); 331if ((values is [AgentTelemetryProtocol.AgentCommandName, AgentTelemetryProtocol.TelemetryCommandName, AgentTelemetryProtocol.HookOptionName] && !isDotnet 333|| (values is [var assemblyPath, AgentTelemetryProtocol.AgentCommandName, AgentTelemetryProtocol.TelemetryCommandName, AgentTelemetryProtocol.HookOptionName] && isDotnet
Commands\AgentTelemetryCommand.cs (1)
40private readonly Option<bool> _hookOption = new(AgentTelemetryProtocol.HookOptionName) { Hidden = true };