1 implementation of IInteractionService
aspire (1)
Interaction\InteractionService.cs (1)
10internal class InteractionService : IInteractionService
18 references to IInteractionService
aspire (18)
Certificates\CertificatesHelper.cs (1)
14internal sealed class CertificateService(IInteractionService interactionService) : ICertificateService
Commands\AddCommand.cs (3)
18private readonly IInteractionService _interactionService; 22public AddCommand(IDotNetCliRunner runner, INuGetPackageCache nuGetPackageCache, IInteractionService interactionService, IProjectLocator projectLocator, IAddCommandPrompter prompter) 227internal class AddCommandPrompter(IInteractionService interactionService) : IAddCommandPrompter
Commands\NewCommand.cs (3)
17private readonly IInteractionService _interactionService; 19public NewCommand(IDotNetCliRunner runner, INuGetPackageCache nuGetPackageCache, INewCommandPrompter prompter, IInteractionService interactionService, ICertificateService certificateService) 191internal class NewCommandPrompter(IInteractionService interactionService) : INewCommandPrompter
Commands\PublishCommand.cs (3)
20internal class PublishCommandPrompter(IInteractionService interactionService) : IPublishCommandPrompter 37private readonly IInteractionService _interactionService; 41public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter)
Commands\RootCommand.cs (2)
18private readonly IInteractionService _interactionService; 20public RootCommand(NewCommand newCommand, RunCommand runCommand, AddCommand addCommand, PublishCommand publishCommand, IInteractionService interactionService)
Commands\RunCommand.cs (2)
22private readonly IInteractionService _interactionService; 27public RunCommand(IDotNetCliRunner runner, IInteractionService interactionService, ICertificateService certificateService, IProjectLocator projectLocator, IAnsiConsole ansiConsole)
Program.cs (1)
84builder.Services.AddSingleton<IInteractionService, InteractionService>();
Utils\AppHostHelper.cs (3)
14internal static async Task<(bool IsCompatibleAppHost, bool SupportsBackchannel, string? AspireHostingSdkVersion)> CheckAppHostCompatibilityAsync(IDotNetCliRunner runner, IInteractionService interactionService, FileInfo projectFile, CancellationToken cancellationToken) 50internal static async Task<(int ExitCode, bool IsAspireHost, string? AspireHostingSdkVersion)> GetAppHostInformationAsync(IDotNetCliRunner runner, IInteractionService interactionService, FileInfo projectFile, CancellationToken cancellationToken) 62internal static async Task<int> BuildAppHostAsync(IDotNetCliRunner runner, IInteractionService interactionService, FileInfo projectFile, CancellationToken cancellationToken)