1 implementation of IDotNetCliRunner
aspire (1)
DotNetCliRunner.cs (1)
42
internal class DotNetCliRunner(ILogger<DotNetCliRunner> logger, IServiceProvider serviceProvider, AspireCliTelemetry telemetry, IConfiguration configuration) :
IDotNetCliRunner
21 references to IDotNetCliRunner
aspire (21)
Certificates\CertificateService.cs (2)
15
Task EnsureCertificatesTrustedAsync(
IDotNetCliRunner
runner, CancellationToken cancellationToken);
21
public async Task EnsureCertificatesTrustedAsync(
IDotNetCliRunner
runner, CancellationToken cancellationToken)
Commands\AddCommand.cs (2)
20
private readonly
IDotNetCliRunner
_runner;
27
public AddCommand(
IDotNetCliRunner
runner, INuGetPackageCache nuGetPackageCache, IInteractionService interactionService, IProjectLocator projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\DeployCommand.cs (1)
17
public DeployCommand(
IDotNetCliRunner
runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\NewCommand.cs (2)
19
private readonly
IDotNetCliRunner
_runner;
28
IDotNetCliRunner
runner,
Commands\PublishCommand.cs (1)
37
public PublishCommand(
IDotNetCliRunner
runner, IInteractionService interactionService, IProjectLocator projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\PublishCommandBase.cs (2)
24
protected readonly
IDotNetCliRunner
_runner;
38
protected PublishCommandBase(string name, string description,
IDotNetCliRunner
runner, IInteractionService interactionService, IProjectLocator projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier)
Commands\RunCommand.cs (2)
23
private readonly
IDotNetCliRunner
_runner;
32
IDotNetCliRunner
runner,
NuGet\NuGetPackageCache.cs (1)
19
internal sealed class NuGetPackageCache(ILogger<NuGetPackageCache> logger,
IDotNetCliRunner
cliRunner, IMemoryCache memoryCache, AspireCliTelemetry telemetry) : INuGetPackageCache
Program.cs (3)
104
builder.Services.AddTransient<
IDotNetCliRunner
, DotNetCliRunner>();
159
var
runner = serviceProvider.GetRequiredService<
IDotNetCliRunner
>();
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)