1 write to _interactionService
aspire (1)
Commands\PublishCommandBase.cs (1)
53_interactionService = interactionService;
25 references to _interactionService
aspire (25)
Commands\PublishCommandBase.cs (25)
85if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller, _interactionService, cancellationToken)) 115appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, _interactionService, effectiveAppHostProjectFile, _telemetry, cancellationToken); 128var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner, _interactionService, effectiveAppHostProjectFile, buildOptions, cancellationToken); 132_interactionService.DisplayLines(buildOutputCollector.GetLines()); 133_interactionService.DisplayError(InteractionServiceStrings.ProjectCouldNotBeBuilt); 165_interactionService.DisplayMessage("bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 168var backchannel = await _interactionService.ShowStatusAsync($":hammer_and_wrench: {GetProgressMessage()}", async ()=> 193_interactionService.DisplayLines(operationOutputCollector.GetLines()); 200_interactionService.DisplayError(GetCanceledMessage()); 205_interactionService.DisplayError(InteractionServiceStrings.SpecifiedProjectFileNotAppHostProject); 210_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionDoesntExist); 215_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionNotSpecifiedMultipleAppHostsFound); 220_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionNotSpecifiedNoCsprojFound); 225return _interactionService.DisplayIncompatibleVersionError( 232_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ErrorConnectingToAppHost, ex.Message)); 233_interactionService.DisplayLines(operationOutputCollector.GetLines()); 238_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.UnexpectedErrorOccurred, ex.Message)); 493_interactionService.DisplayError(error); 499InputType.Text => await _interactionService.PromptForStringAsync( 505InputType.SecretText => await _interactionService.PromptForStringAsync( 514InputType.Boolean => (await _interactionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(), 518_ => await _interactionService.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken) 526return await _interactionService.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken); 531var selectedChoice = await _interactionService.PromptForSelectionAsync( 554return await _interactionService.PromptForStringAsync(