1 write to _interactionService
aspire (1)
Commands\PublishCommandBase.cs (1)
47
_interactionService
= interactionService;
24 references to _interactionService
aspire (24)
Commands\PublishCommandBase.cs (24)
104
appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, _telemetry, cancellationToken);
117
var 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);
157
var 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);
214
return
_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);
485
InputType.Text => await
_interactionService
.PromptForStringAsync(
491
InputType.SecretText => await
_interactionService
.PromptForStringAsync(
500
InputType.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)
512
return await
_interactionService
.PromptForStringAsync(promptText, defaultValue: input.Value, required: input.Required, cancellationToken: cancellationToken);
517
var selectedChoice = await
_interactionService
.PromptForSelectionAsync(
540
return await
_interactionService
.PromptForStringAsync(