6 references to HookOptionName
aspire (6)
Agents\Hooks\TelemetryHookConfigurator.cs (5)
137var (command, args) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.HookOptionName); 255var (command, args) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.HookOptionName); 341var (currentCommand, _) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.HookOptionName); 344if ((values is [AgentTelemetryProtocol.AgentCommandName, AgentTelemetryProtocol.TelemetryCommandName, AgentTelemetryProtocol.HookOptionName] && !isDotnet 346|| (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 };