2 implementations of IGitCommandRunner
aspire (1)
Git\GitCommandRunner.cs (1)
18internal sealed class GitCommandRunner(ICliHostEnvironment hostEnvironment, ILogger<GitCommandRunner> logger) : IGitCommandRunner
Aspire.Cli.Tests (1)
TestServices\TestGitCommandRunner.cs (1)
9internal sealed class TestGitCommandRunner : IGitCommandRunner
18 references to IGitCommandRunner
aspire (2)
Git\GitClient.cs (1)
8internal sealed class GitClient(IGitCommandRunner commands) : IGitClient
Program.cs (1)
571builder.Services.AddSingleton<IGitCommandRunner, GitCommandRunner>();
Aspire.Cli.Tests (16)
Commands\NewCommandLocalTemplateTests.cs (14)
994services.AddSingleton<IGitCommandRunner>(gitCommands); 1363services.AddSingleton<IGitCommandRunner>(gitCommands); 1449services.AddSingleton<IGitCommandRunner>(gitCommands); 1483services.AddSingleton<IGitCommandRunner>(gitCommands); 1524services.AddSingleton<IGitCommandRunner>(gitCommands); 1556services.AddSingleton<IGitCommandRunner>(gitCommands); 1588services.AddSingleton<IGitCommandRunner>(gitCommands); 1727services.AddSingleton<IGitCommandRunner>(gitCommands); 1775firstServices.AddSingleton<IGitCommandRunner>(gitCommands); 1778secondServices.AddSingleton<IGitCommandRunner>(gitCommands); 1817services.AddSingleton<IGitCommandRunner>(gitCommands); 1846services.AddSingleton<IGitCommandRunner>(gitCommands); 1866services.AddSingleton<IGitCommandRunner>(gitCommands); 1918services.AddSingleton<IGitCommandRunner>(gitCommands);
Templating\TemplateEngineFactoryGitTests.cs (1)
204services.AddSingleton<IGitCommandRunner>(commands);
Utils\CliTestHelper.cs (1)
193services.AddSingleton<IGitCommandRunner, GitCommandRunner>();