15 instantiations of GitClient
Aspire.Cli.Tests (15)
Configuration\ConfigSourceServiceGitTests.cs (6)
29new GitClient(CreateRunner(hostEnvironment)); 48var client = new GitClient(commands); 89var client = new GitClient(commands); 142var client = new GitClient(commands); 590var client = new GitClient(commands); 689var client = new GitClient(commands);
Git\GitClientTests.cs (9)
29var client = new GitClient(commands); 52var client = new GitClient(commands); 67var client = new GitClient(commands); 85var client = new GitClient(commands); 100var client = new GitClient(commands); 113var client = new GitClient(commands); 152var client = new GitClient(commands); 170var client = new GitClient(new TestGitCommandRunner { Output = output }); 186var client = new GitClient(commands);
19 references to GitClient
aspire (2)
Program.cs (1)
572builder.Services.AddSingleton<IGitClient, GitClient>();
Templating\TemplateEngineFactory.cs (1)
180if (!GitClient.IsCommitSha(commitSha))
Aspire.Cli.Tests (17)
Commands\NewCommandLocalTemplateTests.cs (1)
1985options.GitClientFactory = serviceProvider => ActivatorUtilities.CreateInstance<GitClient>(serviceProvider);
Configuration\ConfigSourceServiceGitTests.cs (5)
48var client = new GitClient(commands); 89var client = new GitClient(commands); 142var client = new GitClient(commands); 590var client = new GitClient(commands); 689var client = new GitClient(commands);
Git\GitClientTests.cs (9)
29var client = new GitClient(commands); 52var client = new GitClient(commands); 67var client = new GitClient(commands); 85var client = new GitClient(commands); 100var client = new GitClient(commands); 113var client = new GitClient(commands); 152var client = new GitClient(commands); 170var client = new GitClient(new TestGitCommandRunner { Output = output }); 186var client = new GitClient(commands);
Templating\TemplateEngineFactoryGitCheckoutTests.cs (1)
116services.AddSingleton<IGitClient, GitClient>();
Templating\TemplateEngineFactoryGitTests.cs (1)
203services.AddSingleton<IGitClient, GitClient>();