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