1 write to _interactionService
aspire (1)
Commands\PublishCommandBase.cs (1)
47_interactionService = interactionService;
24 references to _interactionService
aspire (24)
Commands\PublishCommandBase.cs (24)
104appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, _interactionService, effectiveAppHostProjectFile, _telemetry, cancellationToken); 117var buildExitCode = await AppHostHelper.BuildAppHostAsync(_runner, _interactionService, effectiveAppHostProjectFile, buildOptions, cancellationToken); 121_interactionService.DisplayLines(buildOutputCollector.GetLines()); 122_interactionService.DisplayError(InteractionServiceStrings.ProjectCouldNotBeBuilt); 154_interactionService.DisplayMessage("bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 157var backchannel = await _interactionService.ShowStatusAsync($":hammer_and_wrench: {GetProgressMessage()}", async ()=> 182_interactionService.DisplayLines(operationOutputCollector.GetLines()); 189_interactionService.DisplayError(GetCanceledMessage()); 194_interactionService.DisplayError(InteractionServiceStrings.SpecifiedProjectFileNotAppHostProject); 199_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionDoesntExist); 204_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionNotSpecifiedMultipleAppHostsFound); 209_interactionService.DisplayError(InteractionServiceStrings.ProjectOptionNotSpecifiedNoCsprojFound); 214return _interactionService.DisplayIncompatibleVersionError( 221_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ErrorConnectingToAppHost, ex.Message)); 222_interactionService.DisplayLines(operationOutputCollector.GetLines()); 227_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.UnexpectedErrorOccurred, ex.Message)); 479_interactionService.DisplayError(error); 485InputType.Text => await _interactionService.PromptForStringAsync( 491InputType.SecretText => await _interactionService.PromptForStringAsync( 500InputType.Boolean => (await _interactionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(), 504_ => await _interactionService.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken) 512return await _interactionService.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken); 517var selectedChoice = await _interactionService.PromptForSelectionAsync( 540return await _interactionService.PromptForStringAsync(