1 write to _interactionService
aspire (1)
Commands\ExecCommand.cs (1)
51_interactionService = interactionService;
24 references to _interactionService
aspire (24)
Commands\ExecCommand.cs (24)
81if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller, _interactionService, cancellationToken)) 97_interactionService.DisplayError(ExecCommandStrings.TargetResourceNotSpecified); 105_interactionService.DisplayError(ExecCommandStrings.NoCommandSpecified); 113_interactionService.DisplayError(ExecCommandStrings.FailedToParseCommand); 145appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, _interactionService, effectiveAppHostProjectFile, _telemetry, cancellationToken); 183backchannel = await _interactionService.ShowStatusAsync( 191_interactionService.DisplayMessage(emoji: "bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 201commandExitCode = 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); 283return _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());