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], Inputs = (global::System.Collections.Generic.IReadOnlyList<global::Aspire.Cli.Backchannel.PublishingPromptInput>)args[5], LogLevel = (string)args[6], Timestamp = (global::System.DateTimeOffset?)args[7], EnableMarkdown = (bool)args[8] },
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)
813
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
,
314
writer.WriteString(PropName_Id, ((global::Aspire.Cli.Backchannel.PublishingActivityData)value).
Id
);
Commands\PipelineCommandBase.cs (14)
331
if (!steps.TryGetValue(activity.Data.
Id
, out var stepStatus))
336
steps[activity.Data.
Id
] = activity.Data.CompletionState;
344
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Step {activity.Data.
Id
}: {status} - {statusText}", escapeMarkup: false);
345
steps[activity.Data.
Id
] = activity.Data.CompletionState;
390
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.
Id
} ({stepId}): {status} - {statusText}", escapeMarkup: false);
400
InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.
Id
} ({stepId}): {statusText}", escapeMarkup: false);
442
if (!steps.TryGetValue(activity.Data.
Id
, out var stepInfo))
447
Id = activity.Data.
Id
,
454
steps[activity.Data.
Id
] = stepInfo;
538
throw new InvalidOperationException($"Step '{stepId}' not found for task '{activity.Data.
Id
}'");
543
if (!tasks.TryGetValue(activity.Data.
Id
, out var task))
548
Id = activity.Data.
Id
,
554
tasks[activity.Data.
Id
] = task;
733
await backchannel.CompletePromptResponseAsync(activity.Data.
Id
, answers, cancellationToken);