1 write to _interactionService
aspire (1)
Commands\PublishCommandBase.cs (1)
52_interactionService = interactionService;
28 references to _interactionService
aspire (28)
Commands\PublishCommandBase.cs (28)
82if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller, _interactionService, cancellationToken)) 112appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, _interactionService, effectiveAppHostProjectFile, _telemetry, ExecutionContext.WorkingDirectory, cancellationToken); 125var 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); 165var backchannel = await _interactionService.ShowStatusAsync($":hammer_and_wrench: {GetProgressMessage()}", async () => 190_interactionService.DisplayLines(operationOutputCollector.GetLines()); 197_interactionService.DisplayError(GetCanceledMessage()); 202return HandleProjectLocatorException(ex, _interactionService); 206return _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); 539InputType.Text => await _interactionService.PromptForStringAsync( 545InputType.SecretText => await _interactionService.PromptForStringAsync( 554InputType.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) 566return await _interactionService.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken); 571var selectedChoice = await _interactionService.PromptForSelectionAsync( 594return await _interactionService.PromptForStringAsync(