2 implementations of IInteractionService
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
12
internal class ConsoleInteractionService :
IInteractionService
Interaction\ExtensionInteractionService.cs (1)
14
internal class ExtensionInteractionService :
IInteractionService
35 references to IInteractionService
aspire (35)
Certificates\CertificateService.cs (1)
18
internal sealed class CertificateService(
IInteractionService
interactionService, AspireCliTelemetry telemetry) : ICertificateService
Commands\AddCommand.cs (3)
21
private readonly
IInteractionService
_interactionService;
26
public AddCommand(IDotNetCliRunner runner, INuGetPackageCache nuGetPackageCache,
IInteractionService
interactionService, IProjectLocator projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry)
253
internal class AddCommandPrompter(
IInteractionService
interactionService) : IAddCommandPrompter
Commands\ConfigCommand.cs (10)
18
private readonly
IInteractionService
_interactionService;
20
public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService,
IInteractionService
interactionService)
51
private readonly
IInteractionService
_interactionService;
53
public GetCommand(IConfigurationService configurationService,
IInteractionService
interactionService)
93
private readonly
IInteractionService
_interactionService;
95
public SetCommand(IConfigurationService configurationService,
IInteractionService
interactionService)
160
private readonly
IInteractionService
_interactionService;
162
public ListCommand(IConfigurationService configurationService,
IInteractionService
interactionService)
191
private readonly
IInteractionService
_interactionService;
193
public DeleteCommand(IConfigurationService configurationService,
IInteractionService
interactionService)
Commands\DeployCommand.cs (1)
15
public DeployCommand(IDotNetCliRunner runner,
IInteractionService
interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry)
Commands\NewCommand.cs (3)
21
private readonly
IInteractionService
_interactionService;
25
public NewCommand(IDotNetCliRunner runner, INuGetPackageCache nuGetPackageCache, INewCommandPrompter prompter,
IInteractionService
interactionService, ICertificateService certificateService, ITemplateProvider templateProvider, AspireCliTelemetry telemetry)
111
internal class NewCommandPrompter(
IInteractionService
interactionService) : INewCommandPrompter
Commands\PublishCommand.cs (2)
18
internal class PublishCommandPrompter(
IInteractionService
interactionService) : IPublishCommandPrompter
35
public PublishCommand(IDotNetCliRunner runner,
IInteractionService
interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry)
Commands\PublishCommandBase.cs (2)
24
protected readonly
IInteractionService
_interactionService;
37
protected PublishCommandBase(string name, string description, IDotNetCliRunner runner,
IInteractionService
interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry)
Commands\RootCommand.cs (2)
20
private readonly
IInteractionService
_interactionService;
22
public RootCommand(NewCommand newCommand, RunCommand runCommand, AddCommand addCommand, PublishCommand publishCommand, DeployCommand deployCommand, ConfigCommand configCommand, IFeatures featureFlags,
IInteractionService
interactionService)
Commands\RunCommand.cs (2)
23
private readonly
IInteractionService
_interactionService;
30
public RunCommand(IDotNetCliRunner runner,
IInteractionService
interactionService, ICertificateService certificateService, IProjectLocator projectLocator, IAnsiConsole ansiConsole, AspireCliTelemetry telemetry, IConfiguration configuration)
Program.cs (4)
158
var
interactionService = serviceProvider.GetRequiredService<
IInteractionService
>();
195
builder.Services.AddSingleton<
IInteractionService
>(provider =>
206
builder.Services.AddSingleton<
IInteractionService
, ConsoleInteractionService>();
Projects\ProjectLocator.cs (1)
20
internal sealed class ProjectLocator(ILogger<ProjectLocator> logger, IDotNetCliRunner runner, DirectoryInfo currentDirectory,
IInteractionService
interactionService, IConfigurationService configurationService, AspireCliTelemetry telemetry) : IProjectLocator
Templating\DotNetTemplateFactory.cs (1)
16
internal class DotNetTemplateFactory(
IInteractionService
interactionService, IDotNetCliRunner runner, ICertificateService certificateService, INuGetPackageCache nuGetPackageCache, INewCommandPrompter prompter) : ITemplateFactory
Utils\AppHostHelper.cs (3)
16
internal static async Task<(bool IsCompatibleAppHost, bool SupportsBackchannel, string? AspireHostingVersion)> CheckAppHostCompatibilityAsync(IDotNetCliRunner runner,
IInteractionService
interactionService, FileInfo projectFile, AspireCliTelemetry telemetry, CancellationToken cancellationToken)
52
internal static async Task<(int ExitCode, bool IsAspireHost, string? AspireHostingVersion)> GetAppHostInformationAsync(IDotNetCliRunner runner,
IInteractionService
interactionService, FileInfo projectFile, AspireCliTelemetry telemetry, CancellationToken cancellationToken)
66
internal static async Task<int> BuildAppHostAsync(IDotNetCliRunner runner,
IInteractionService
interactionService, FileInfo projectFile, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)