12 implementations of IProjectLocator
aspire (1)
Projects\ProjectLocator.cs (1)
149IConfiguration configuration) : IProjectLocator
Aspire.Cli.Tests (11)
Commands\ExtensionInternalCommandTests.cs (4)
228private sealed class SingleProjectFileProjectLocator : IProjectLocator 293private sealed class MultipleProjectsProjectLocator : IProjectLocator 358private sealed class NoProjectFileProjectLocator : IProjectLocator 415private sealed class ThrowingProjectLocator : IProjectLocator
Commands\RunCommandTests.cs (4)
1243private sealed class ProjectFileDoesNotExistLocator : Aspire.Cli.Projects.IProjectLocator 1923private sealed class NoProjectFileProjectLocator : IProjectLocator 1948private sealed class MultipleProjectFilesProjectLocator : IProjectLocator 3476private sealed class SingleFileAppHostProjectLocator : Aspire.Cli.Projects.IProjectLocator
Commands\SecretCommandTests.cs (1)
87private sealed class TestProjectLocator(FileInfo appHostFile) : IProjectLocator
TestServices\NoProjectFileProjectLocator.cs (1)
8internal sealed class NoProjectFileProjectLocator : IProjectLocator
TestServices\TestProjectLocator.cs (1)
10internal sealed class TestProjectLocator : IProjectLocator
41 references to IProjectLocator
aspire (39)
Backchannel\AppHostConnectionResolver.cs (1)
46IProjectLocator projectLocator,
Commands\AddCommand.cs (2)
27private readonly IProjectLocator _projectLocator; 55public AddCommand(IProjectLocator projectLocator, IntegrationPackageSearchService integrationPackageSearchService, IAddCommandPrompter prompter, IDotNetSdkInstaller sdkInstaller, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ProfilingTelemetry profilingTelemetry, CommonCommandServices services)
Commands\AppHostLauncher.cs (1)
31IProjectLocator projectLocator,
Commands\DeployCommand.cs (1)
22public DeployCommand(IDotNetCliRunner runner, IProjectLocator projectLocator, IFeatures features, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<DeployCommand> logger, IAnsiConsole ansiConsole,
Commands\DestroyCommand.cs (1)
22public DestroyCommand(IDotNetCliRunner runner, IProjectLocator projectLocator, IFeatures features, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<DestroyCommand> logger, IAnsiConsole ansiConsole,
Commands\DoCommand.cs (1)
22public DoCommand(IDotNetCliRunner runner, IProjectLocator projectLocator, IFeatures features, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<DoCommand> logger, IAnsiConsole ansiConsole,
Commands\ExtensionInternalCommand.cs (3)
15public ExtensionInternalCommand(IProjectLocator projectLocator, CommonCommandServices services) : base("extension", "Hidden command for extension integration", services) 28private readonly IProjectLocator _projectLocator; 30public GetAppHostCandidatesCommand(IProjectLocator projectLocator, CommonCommandServices services) : base("get-apphosts", "Get AppHosts in the specified directory", services)
Commands\IntegrationPackageSearchService.cs (1)
17IProjectLocator projectLocator,
Commands\LsCommand.cs (2)
20private readonly IProjectLocator _projectLocator; 43IProjectLocator projectLocator,
Commands\PipelineCommandBase.cs (2)
43protected readonly IProjectLocator _projectLocator; 93protected PipelineCommandBase(string name, string description, IDotNetCliRunner runner, IProjectLocator projectLocator, IFeatures features, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger logger, IAnsiConsole ansiConsole, CommonCommandServices services)
Commands\PublishCommand.cs (1)
41public PublishCommand(IDotNetCliRunner runner, IProjectLocator projectLocator, IPublishCommandPrompter prompter, IFeatures features, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<PublishCommand> logger, IAnsiConsole ansiConsole,
Commands\RenderCommand.cs (2)
562_serviceProvider.GetRequiredService<IProjectLocator>(), 810IProjectLocator projectLocator,
Commands\ResourceCommand.cs (2)
25private readonly IProjectLocator _projectLocator; 79IProjectLocator projectLocator,
Commands\RestoreCommand.cs (2)
28private readonly IProjectLocator _projectLocator; 39IProjectLocator projectLocator,
Commands\RunCommand.cs (2)
65private readonly IProjectLocator _projectLocator; 131IProjectLocator projectLocator,
Commands\StopCommand.cs (2)
31private readonly IProjectLocator _projectLocator; 57IProjectLocator projectLocator,
Commands\UpdateCommand.cs (2)
31private readonly IProjectLocator _projectLocator; 66IProjectLocator projectLocator,
Migrations\TypeScriptAppHostMigration.cs (2)
33private readonly IProjectLocator _projectLocator; 41IProjectLocator projectLocator,
Program.cs (1)
434builder.Services.AddSingleton<IProjectLocator, ProjectLocator>();
Projects\AppHostDiscoveryScope.cs (1)
7/// Controls how aggressively <see cref="IProjectLocator"/> filters candidate AppHost
Projects\LegacyTypeScriptAppHost.cs (1)
143IProjectLocator projectLocator,
Secrets\SecretStoreResolver.cs (1)
13IProjectLocator projectLocator,
Utils\EnvironmentChecker\AspireVersionCheck.cs (1)
20IProjectLocator projectLocator,
Utils\EnvironmentChecker\DotNetSdkCheck.cs (1)
19IProjectLocator projectLocator,
Utils\EnvironmentChecker\TypeScriptAppHostToolingCheck.cs (3)
15private readonly IProjectLocator _projectLocator; 23IProjectLocator projectLocator, 33IProjectLocator projectLocator,
Aspire.Cli.Tests (2)
Utils\CliTestHelper.cs (2)
458public Func<IServiceProvider, IProjectLocator> ProjectLocatorFactory { get; set; } 465public IProjectLocator CreateDefaultProjectLocatorFactory(IServiceProvider serviceProvider)