15 writes to Id
aspire (1)
BackchannelJsonSerializerContext.PublishingActivityData.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.PublishingActivityData(){
Id
= (string)args[0], StatusText = (string)args[1], CompletionState = (string)args[2], StepId = (string)args[3], CompletionMessage = (string)args[4], PipelineSummary = (global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, string>>)args[5], Inputs = (global::System.Collections.Generic.IReadOnlyList<global::Aspire.Cli.Backchannel.PublishingPromptInput>)args[6], LogLevel = (string)args[7], Timestamp = (global::System.DateTimeOffset?)args[8], EnableMarkdown = (bool)args[9] },
Aspire.Cli.Tests (14)
Commands\DeployCommandTests.cs (5)
410
Id
= "deploy-step",
423
Id
= "deploy-postgres",
435
Id
= "deploy-postgres",
449
Id
= "deploy-step",
462
Id
= "publish-complete",
Commands\PublishCommandPromptingIntegrationTests.cs (1)
772
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",
16 references to Id
aspire (16)
BackchannelJsonSerializerContext.PublishingActivityData.g.cs (2)
58
Getter = static obj => ((global::Aspire.Cli.Backchannel.PublishingActivityData)obj).
Id
,
334
writer.WriteString(PropName_Id, ((global::Aspire.Cli.Backchannel.PublishingActivityData)value).
Id
);
Commands\PipelineCommandBase.cs (14)
329
if (!steps.TryGetValue(activity.Data.
Id
, out var stepStatus))
334
steps[activity.Data.
Id
] = activity.Data.CompletionState;
342
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Step {activity.Data.
Id
}: {status} - {statusText}", escapeMarkup: false);
343
steps[activity.Data.
Id
] = activity.Data.CompletionState;
388
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.
Id
} ({stepId}): {status} - {statusText}", escapeMarkup: false);
398
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.
Id
} ({stepId}): {statusText}", escapeMarkup: false);
440
if (!steps.TryGetValue(activity.Data.
Id
, out var stepInfo))
445
Id = activity.Data.
Id
,
452
steps[activity.Data.
Id
] = stepInfo;
536
throw new InvalidOperationException($"Step '{stepId}' not found for task '{activity.Data.
Id
}'");
541
if (!tasks.TryGetValue(activity.Data.
Id
, out var task))
546
Id = activity.Data.
Id
,
552
tasks[activity.Data.
Id
] = task;
733
await backchannel.CompletePromptResponseAsync(activity.Data.
Id
, answers, cancellationToken);