1 write to _interactionService
aspire (1)
Commands\ExecCommand.cs (1)
51
_interactionService
= interactionService;
24 references to _interactionService
aspire (24)
Commands\ExecCommand.cs (24)
81
if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller,
_interactionService
, cancellationToken))
97
_interactionService
.DisplayError(ExecCommandStrings.TargetResourceNotSpecified);
105
_interactionService
.DisplayError(ExecCommandStrings.NoCommandSpecified);
113
_interactionService
.DisplayError(ExecCommandStrings.FailedToParseCommand);
145
appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner,
_interactionService
, effectiveAppHostProjectFile, _telemetry, cancellationToken);
183
backchannel = await
_interactionService
.ShowStatusAsync(
191
_interactionService
.DisplayMessage(emoji: "bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost);
201
commandExitCode = await
_interactionService
.ShowStatusAsync<int?>(
210
_interactionService
.WriteConsoleLog(output.Text, output.LineNumber, output.Type, output.IsErrorMessage);
224
_ = await
_interactionService
.ShowStatusAsync<int>(
245
_interactionService
.DisplayLines(runOutputCollector.GetLines());
246
_interactionService
.DisplayError(RunCommandStrings.ProjectCouldNotBeRun);
256
_interactionService
.DisplayLines(runOutputCollector.GetLines());
257
_interactionService
.DisplayError(RunCommandStrings.ProjectCouldNotBeRun);
263
_interactionService
.DisplayCancellationMessage();
268
_interactionService
.DisplayError(InteractionServiceStrings.ProjectOptionDoesntExist);
273
_interactionService
.DisplayError(InteractionServiceStrings.ProjectOptionNotSpecifiedMultipleAppHostsFound);
278
_interactionService
.DisplayError(InteractionServiceStrings.ProjectOptionNotSpecifiedNoCsprojFound);
283
return
_interactionService
.DisplayIncompatibleVersionError(
290
_interactionService
.DisplayError(string.Format(CultureInfo.CurrentCulture, TemplatingStrings.CertificateTrustError, ex.Message));
295
_interactionService
.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ErrorConnectingToAppHost, ex.Message));
296
_interactionService
.DisplayLines(runOutputCollector.GetLines());
301
_interactionService
.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.UnexpectedErrorOccurred, ex.Message));
302
_interactionService
.DisplayLines(runOutputCollector.GetLines());