1 write to _interactionService
aspire (1)
Commands\PublishCommandBase.cs (1)
53
_interactionService
= interactionService;
25 references to _interactionService
aspire (25)
Commands\PublishCommandBase.cs (25)
85
if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller,
_interactionService
, cancellationToken))
115
appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, _telemetry, cancellationToken);
128
var 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);
168
var 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);
225
return
_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);
499
InputType.Text => await
_interactionService
.PromptForStringAsync(
505
InputType.SecretText => await
_interactionService
.PromptForStringAsync(
514
InputType.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)
526
return await
_interactionService
.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken);
531
var selectedChoice = await
_interactionService
.PromptForSelectionAsync(
554
return await
_interactionService
.PromptForStringAsync(