14 writes to Id
Aspire.Cli.Tests (14)
Commands\DeployCommandTests.cs (5)
408
Id
= "deploy-step",
421
Id
= "deploy-postgres",
433
Id
= "deploy-postgres",
447
Id
= "deploy-step",
460
Id
= "publish-complete",
Commands\PublishCommandPromptingIntegrationTests.cs (1)
773
Id
= prompt.PromptId,
TestServices\TestAppHostCliBackchannel.cs (8)
127
Id
= "root-step",
138
Id
= "child-task-1",
149
Id
= "child-task-1",
160
Id
= "child-task-2",
171
Id
= "child-task-2",
182
Id
= "child-task-2",
193
Id
= "child-task-2",
204
Id
= "root-step",
14 references to Id
aspire (14)
Commands\PipelineCommandBase.cs (14)
391
if (!steps.TryGetValue(activity.Data.
Id
, out var stepStatus))
396
steps[activity.Data.
Id
] = activity.Data.CompletionState;
404
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Step {activity.Data.
Id
}: {status} - {statusText}", allowMarkup: true);
405
steps[activity.Data.
Id
] = activity.Data.CompletionState;
450
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.
Id
} ({stepId}): {status} - {statusText}", allowMarkup: true);
460
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.
Id
} ({stepId}): {statusText}", allowMarkup: true);
502
if (!steps.TryGetValue(activity.Data.
Id
, out var stepInfo))
507
Id = activity.Data.
Id
,
514
steps[activity.Data.
Id
] = stepInfo;
598
throw new InvalidOperationException($"Step '{stepId}' not found for task '{activity.Data.
Id
}'");
603
if (!tasks.TryGetValue(activity.Data.
Id
, out var task))
608
Id = activity.Data.
Id
,
614
tasks[activity.Data.
Id
] = task;
795
await backchannel.CompletePromptResponseAsync(activity.Data.
Id
, answers, cancellationToken);