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