9 writes to Id
Aspire.Cli.Tests (9)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
596Id = prompt.PromptId,
TestServices\TestAppHostBackchannel.cs (8)
128Id = "root-step", 139Id = "child-task-1", 150Id = "child-task-1", 161Id = "child-task-2", 172Id = "child-task-2", 183Id = "child-task-2", 194Id = "child-task-2", 205Id = "root-step",
10 references to Id
aspire (10)
Commands\PublishCommandBase.cs (10)
279if (!steps.TryGetValue(activity.Data.Id, out var stepInfo)) 288Id = activity.Data.Id, 295steps[activity.Data.Id] = stepInfo; 334throw new InvalidOperationException($"Step activity with ID '{activity.Data.Id}' is not complete. Expected it to be complete before processing tasks."); 348throw new InvalidOperationException($"Task activity with ID '{activity.Data.Id}' is not associated with the current step '{currentStepProgress.Step?.Id}'."); 355if (!tasks.TryGetValue(activity.Data.Id, out var task)) 359Id = activity.Data.Id, 365tasks[activity.Data.Id] = task; 374throw new InvalidOperationException($"Task with ID '{activity.Data.Id}' does not have an associated ProgressTask."); 477await backchannel.CompletePromptResponseAsync(activity.Data.Id, answers, cancellationToken);