1 write to _interactionService
aspire (1)
Commands\PublishCommandBase.cs (1)
52
_interactionService
= interactionService;
28 references to _interactionService
aspire (28)
Commands\PublishCommandBase.cs (28)
82
if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller,
_interactionService
, cancellationToken))
112
appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, _telemetry, ExecutionContext.WorkingDirectory, cancellationToken);
125
var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, buildOptions, ExecutionContext.WorkingDirectory, cancellationToken);
129
_interactionService
.DisplayLines(buildOutputCollector.GetLines());
130
_interactionService
.DisplayError(InteractionServiceStrings.ProjectCouldNotBeBuilt);
162
_interactionService
.DisplayMessage("bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
165
var backchannel = await
_interactionService
.ShowStatusAsync($":hammer_and_wrench: {GetProgressMessage()}", async () =>
190
_interactionService
.DisplayLines(operationOutputCollector.GetLines());
197
_interactionService
.DisplayError(GetCanceledMessage());
202
return HandleProjectLocatorException(ex,
_interactionService
);
206
return
_interactionService
.DisplayIncompatibleVersionError(
213
_interactionService
.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ErrorConnectingToAppHost, ex.Message));
214
_interactionService
.DisplayLines(operationOutputCollector.GetLines());
219
_interactionService
.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.UnexpectedErrorOccurred, ex.Message));
242
_interactionService
.DisplaySubtleMessage($"[DEBUG] Step {stepCounter++}: {activity.Data.StatusText}");
250
_interactionService
.DisplaySubtleMessage($"[DEBUG] Step {activity.Data.Id}: {status} - {activity.Data.StatusText}");
266
_interactionService
.DisplaySubtleMessage($"[DEBUG] Task {activity.Data.Id} ({stepId}): {status} - {activity.Data.StatusText}");
269
_interactionService
.DisplaySubtleMessage($"[DEBUG] {activity.Data.CompletionMessage}");
274
_interactionService
.DisplaySubtleMessage($"[DEBUG] Task {activity.Data.Id} ({stepId}): {activity.Data.StatusText}");
285
_interactionService
.DisplaySubtleMessage($"[DEBUG] {OperationCompletedPrefix}: {status} - {publishingActivity.Data.StatusText}");
533
_interactionService
.DisplayError(error);
539
InputType.Text => await
_interactionService
.PromptForStringAsync(
545
InputType.SecretText => await
_interactionService
.PromptForStringAsync(
554
InputType.Boolean => (await
_interactionService
.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
558
_ => await
_interactionService
.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken)
566
return await
_interactionService
.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken);
571
var selectedChoice = await
_interactionService
.PromptForSelectionAsync(
594
return await
_interactionService
.PromptForStringAsync(