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