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