14 implementations of IProjectLocator
aspire (1)
Projects\ProjectLocator.cs (1)
23
internal sealed class ProjectLocator(ILogger<ProjectLocator> logger, IDotNetCliRunner runner, CliExecutionContext executionContext, IInteractionService interactionService, IConfigurationService configurationService, AspireCliTelemetry telemetry) :
IProjectLocator
Aspire.Cli.Tests (13)
Commands\ExecCommandTests.cs (3)
168
private sealed class NoProjectFileProjectLocator : Aspire.Cli.Projects.
IProjectLocator
186
private sealed class MultipleProjectFilesProjectLocator : Aspire.Cli.Projects.
IProjectLocator
204
private sealed class ProjectFileDoesNotExistLocator : Aspire.Cli.Projects.
IProjectLocator
Commands\ExtensionInternalCommandTests.cs (4)
201
private sealed class SingleProjectFileProjectLocator :
IProjectLocator
259
private sealed class MultipleProjectsProjectLocator :
IProjectLocator
317
private sealed class NoProjectFileProjectLocator :
IProjectLocator
367
private sealed class ThrowingProjectLocator :
IProjectLocator
Commands\RunCommandTests.cs (4)
92
private sealed class ProjectFileDoesNotExistLocator : Aspire.Cli.Projects.
IProjectLocator
150
private sealed class NoProjectFileProjectLocator :
IProjectLocator
168
private sealed class MultipleProjectFilesProjectLocator :
IProjectLocator
1102
private sealed class SingleFileAppHostProjectLocator : Aspire.Cli.Projects.
IProjectLocator
TestServices\NoProjectFileProjectLocator.cs (1)
8
internal sealed class NoProjectFileProjectLocator :
IProjectLocator
TestServices\TestProjectLocator.cs (1)
8
internal sealed class TestProjectLocator :
IProjectLocator
19 references to IProjectLocator
aspire (17)
Commands\AddCommand.cs (2)
23
private readonly
IProjectLocator
_projectLocator;
30
public AddCommand(IDotNetCliRunner runner, IPackagingService packagingService, IInteractionService interactionService,
IProjectLocator
projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
Commands\DeployCommand.cs (1)
20
public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
Commands\DoCommand.cs (1)
19
public DoCommand(IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
Commands\ExecCommand.cs (2)
24
private readonly
IProjectLocator
_projectLocator;
35
IProjectLocator
projectLocator,
Commands\ExtensionInternalCommand.cs (3)
17
public ExtensionInternalCommand(IFeatures features, ICliUpdateNotifier updateNotifier,
IProjectLocator
projectLocator, CliExecutionContext executionContext, IInteractionService interactionService) : base("extension", "Hidden command for extension integration", features, updateNotifier, executionContext, interactionService)
33
private readonly
IProjectLocator
_projectLocator;
35
public GetAppHostCandidatesCommand(IFeatures features, ICliUpdateNotifier updateNotifier,
IProjectLocator
projectLocator, CliExecutionContext executionContext, IInteractionService interactionService) : base("get-apphosts", "Get AppHosts in the specified directory", features, updateNotifier, executionContext, interactionService)
Commands\PipelineCommandBase.cs (2)
25
protected readonly
IProjectLocator
_projectLocator;
54
protected PipelineCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
Commands\PublishCommand.cs (1)
37
public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment)
Commands\RunCommand.cs (2)
28
private readonly
IProjectLocator
_projectLocator;
41
IProjectLocator
projectLocator,
Commands\UpdateCommand.cs (2)
22
private readonly
IProjectLocator
_projectLocator;
29
IProjectLocator
projectLocator,
Program.cs (1)
121
builder.Services.AddSingleton<
IProjectLocator
, ProjectLocator>();
Aspire.Cli.Tests (2)
Utils\CliTestHelper.cs (2)
203
public Func<IServiceProvider,
IProjectLocator
> ProjectLocatorFactory { get; set; }
207
public
IProjectLocator
CreateDefaultProjectLocatorFactory(IServiceProvider serviceProvider)