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