9 implementations of IProjectLocator
aspire (1)
Projects\ProjectLocator.cs (1)
22
internal sealed class ProjectLocator(ILogger<ProjectLocator> logger, IDotNetCliRunner runner, CliExecutionContext executionContext, IInteractionService interactionService, IConfigurationService configurationService, AspireCliTelemetry telemetry, IFeatures features) :
IProjectLocator
Aspire.Cli.Tests (8)
Commands\ExecCommandTests.cs (3)
167
private sealed class NoProjectFileProjectLocator : Aspire.Cli.Projects.
IProjectLocator
180
private sealed class MultipleProjectFilesProjectLocator : Aspire.Cli.Projects.
IProjectLocator
197
private sealed class ProjectFileDoesNotExistLocator : Aspire.Cli.Projects.
IProjectLocator
Commands\RunCommandTests.cs (3)
86
private sealed class ProjectFileDoesNotExistLocator : Aspire.Cli.Projects.
IProjectLocator
139
private sealed class NoProjectFileProjectLocator :
IProjectLocator
152
private sealed class MultipleProjectFilesProjectLocator :
IProjectLocator
TestServices\NoProjectFileProjectLocator.cs (1)
8
internal sealed class NoProjectFileProjectLocator :
IProjectLocator
TestServices\TestProjectLocator.cs (1)
8
internal sealed class TestProjectLocator :
IProjectLocator
18 references to IProjectLocator
aspire (16)
Commands\AddCommand.cs (2)
23
private readonly
IProjectLocator
_projectLocator;
28
public AddCommand(IDotNetCliRunner runner, IPackagingService packagingService, IInteractionService interactionService,
IProjectLocator
projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\DeployCommand.cs (1)
16
public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\ExecCommand.cs (2)
24
private readonly
IProjectLocator
_projectLocator;
33
IProjectLocator
projectLocator,
Commands\ExtensionInternalCommand.cs (3)
16
public ExtensionInternalCommand(IFeatures features, ICliUpdateNotifier updateNotifier,
IProjectLocator
projectLocator, CliExecutionContext executionContext, IInteractionService interactionService) : base("extension", "Hidden command for extension integration", features, updateNotifier, executionContext, interactionService)
32
private readonly
IProjectLocator
_projectLocator;
34
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\PublishCommand.cs (1)
36
public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\PublishCommandBase.cs (2)
25
protected readonly
IProjectLocator
_projectLocator;
41
protected PublishCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\RunCommand.cs (2)
26
private readonly
IProjectLocator
_projectLocator;
37
IProjectLocator
projectLocator,
Commands\UpdateCommand.cs (2)
17
private readonly
IProjectLocator
_projectLocator;
21
public UpdateCommand(
IProjectLocator
projectLocator, IPackagingService packagingService, IProjectUpdater projectUpdater, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) : base("update", UpdateCommandStrings.Description, features, updateNotifier, executionContext, interactionService)
Program.cs (1)
112
builder.Services.AddSingleton<
IProjectLocator
, ProjectLocator>();
Aspire.Cli.Tests (2)
Utils\CliTestHelper.cs (2)
191
public Func<IServiceProvider,
IProjectLocator
> ProjectLocatorFactory { get; set; }
194
public
IProjectLocator
CreateDefaultProjectLocatorFactory(IServiceProvider serviceProvider)