4 instantiations of AppHostCandidateFinder
Aspire.Cli.Tests (4)
Projects\AppHostCandidateFinderTests.cs (2)
586return new AppHostCandidateFinder(gitRepository ?? new TestGitRepository(), new TestEnvironment(), profilingTelemetry ?? CreateProfilingTelemetry(), NullLogger<AppHostCandidateFinder>.Instance); 594return new AppHostCandidateFinder(gitRepository, new TestEnvironment(), profilingTelemetry, NullLogger<AppHostCandidateFinder>.Instance);
Projects\ProjectLocatorTests.cs (1)
4171var appHostCandidateFinder = new AppHostCandidateFinder(
Utils\CliTestHelper.cs (1)
476?? new AppHostCandidateFinder(gitRepository, environment, profilingTelemetry, NullLogger<AppHostCandidateFinder>.Instance);
36 references to AppHostCandidateFinder
aspire (2)
Program.cs (1)
433builder.Services.AddSingleton<IAppHostCandidateFinder, AppHostCandidateFinder>();
Projects\AppHostCandidateFinder.cs (1)
56ILogger<AppHostCandidateFinder> logger) : IAppHostCandidateFinder
Aspire.Cli.Tests (34)
Projects\AppHostCandidateFinderTests.cs (31)
33var finder = CreateFinder(gitRepository); 49var finder = CreateFinder(gitRepository); 77var finder = CreateFinder(gitRepository); 94var finder = CreateFinder(gitRepository); 112var finder = CreateFinder(gitRepository); 130var finder = CreateFinder(gitRepository); 152var finder = CreateFinder(); 171var finder = CreateFinder(gitRepository); 187var finder = CreateFinder(gitRepository); 204var finder = CreateFinder(gitRepository); 226var finder = CreateFinder(gitRepository, profilingTelemetry); 260var finder = CreateFinder(gitRepository); 286var finder = CreateFinder(gitRepository, profilingTelemetry); 314var finder = CreateFinder(); 338var finder = CreateFinder(); 364var finder = CreateFinder(gitRepository); 382var finder = CreateFinder(); 409var finder = CreateFinder(gitRepository); 425var finder = CreateFinder(); 440var finder = CreateFinder(); 456var finder = CreateFinder(gitRepository); 472var finder = CreateFinder(); 493var finder = CreateFinder(gitRepository); 506var finder = CreateFinder(); 520var finder = CreateFinder(); 546var finder = CreateFinderWithRealGit(workspace.WorkspaceRoot); 574var finder = CreateFinderWithRealGit(workspace.WorkspaceRoot); 584private static AppHostCandidateFinder CreateFinder(TestGitRepository? gitRepository = null, ProfilingTelemetry? profilingTelemetry = null) 586return new AppHostCandidateFinder(gitRepository ?? new TestGitRepository(), new TestEnvironment(), profilingTelemetry ?? CreateProfilingTelemetry(), NullLogger<AppHostCandidateFinder>.Instance); 589private static AppHostCandidateFinder CreateFinderWithRealGit(DirectoryInfo workingDirectory) 594return new AppHostCandidateFinder(gitRepository, new TestEnvironment(), profilingTelemetry, NullLogger<AppHostCandidateFinder>.Instance);
Projects\ProjectLocatorTests.cs (2)
4171var appHostCandidateFinder = new AppHostCandidateFinder( 4175NullLogger<AppHostCandidateFinder>.Instance);
Utils\CliTestHelper.cs (1)
476?? new AppHostCandidateFinder(gitRepository, environment, profilingTelemetry, NullLogger<AppHostCandidateFinder>.Instance);