6 references to HookOptionName
aspire (6)
Agents\Hooks\TelemetryHookConfigurator.cs (5)
124
var (command, args) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.
HookOptionName
);
242
var (command, args) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.
HookOptionName
);
328
var (currentCommand, _) = AgentTelemetryHook.GetCommand(AgentTelemetryProtocol.
HookOptionName
);
331
if ((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)
40
private readonly Option<bool> _hookOption = new(AgentTelemetryProtocol.
HookOptionName
) { Hidden = true };