4 instantiations of AppHostCandidateFinder
Aspire.Cli.Tests (4)
Projects\AppHostCandidateFinderTests.cs (2)
589return new AppHostCandidateFinder(gitRepository ?? new TestGitRepository(), new TestEnvironment(), profilingTelemetry ?? CreateProfilingTelemetry(), NullLogger<AppHostCandidateFinder>.Instance); 597return new AppHostCandidateFinder(gitRepository, new TestEnvironment(), profilingTelemetry, loggerFactory.CreateLogger<AppHostCandidateFinder>());
Projects\ProjectLocatorTests.cs (1)
4263var appHostCandidateFinder = new AppHostCandidateFinder(
Utils\CliTestHelper.cs (1)
496?? new AppHostCandidateFinder(gitRepository, environment, profilingTelemetry, NullLogger<AppHostCandidateFinder>.Instance);
36 references to AppHostCandidateFinder
aspire (2)
Program.cs (1)
452builder.Services.AddSingleton<IAppHostCandidateFinder, AppHostCandidateFinder>();
Projects\AppHostCandidateFinder.cs (1)
56ILogger<AppHostCandidateFinder> logger) : IAppHostCandidateFinder
Aspire.Cli.Tests (34)
Projects\AppHostCandidateFinderTests.cs (31)
34var finder = CreateFinder(gitRepository); 50var finder = CreateFinder(gitRepository); 78var finder = CreateFinder(gitRepository); 95var finder = CreateFinder(gitRepository); 113var finder = CreateFinder(gitRepository); 131var finder = CreateFinder(gitRepository); 153var finder = CreateFinder(); 172var finder = CreateFinder(gitRepository); 188var finder = CreateFinder(gitRepository); 205var finder = CreateFinder(gitRepository); 227var finder = CreateFinder(gitRepository, profilingTelemetry); 261var finder = CreateFinder(gitRepository); 287var finder = CreateFinder(gitRepository, profilingTelemetry); 315var finder = CreateFinder(); 339var finder = CreateFinder(); 365var finder = CreateFinder(gitRepository); 383var finder = CreateFinder(); 410var finder = CreateFinder(gitRepository); 426var finder = CreateFinder(); 441var finder = CreateFinder(); 457var finder = CreateFinder(gitRepository); 473var finder = CreateFinder(); 494var finder = CreateFinder(gitRepository); 507var finder = CreateFinder(); 521var finder = CreateFinder(); 548var finder = CreateFinderWithRealGit(workspace.WorkspaceRoot, loggerFactory); 577var finder = CreateFinderWithRealGit(workspace.WorkspaceRoot, loggerFactory); 587private static AppHostCandidateFinder CreateFinder(TestGitRepository? gitRepository = null, ProfilingTelemetry? profilingTelemetry = null) 589return new AppHostCandidateFinder(gitRepository ?? new TestGitRepository(), new TestEnvironment(), profilingTelemetry ?? CreateProfilingTelemetry(), NullLogger<AppHostCandidateFinder>.Instance); 592private static AppHostCandidateFinder CreateFinderWithRealGit(DirectoryInfo workingDirectory, ILoggerFactory loggerFactory) 597return new AppHostCandidateFinder(gitRepository, new TestEnvironment(), profilingTelemetry, loggerFactory.CreateLogger<AppHostCandidateFinder>());
Projects\ProjectLocatorTests.cs (2)
4263var appHostCandidateFinder = new AppHostCandidateFinder( 4267NullLogger<AppHostCandidateFinder>.Instance);
Utils\CliTestHelper.cs (1)
496?? new AppHostCandidateFinder(gitRepository, environment, profilingTelemetry, NullLogger<AppHostCandidateFinder>.Instance);