15 implementations of IProjectLocator
aspire (1)
Projects\ProjectLocator.cs (1)
39
AspireCliTelemetry telemetry) :
IProjectLocator
Aspire.Cli.Tests (14)
Commands\ExecCommandTests.cs (3)
169
private sealed class NoProjectFileProjectLocator : Aspire.Cli.Projects.
IProjectLocator
184
private sealed class MultipleProjectFilesProjectLocator : Aspire.Cli.Projects.
IProjectLocator
199
private sealed class ProjectFileDoesNotExistLocator : Aspire.Cli.Projects.
IProjectLocator
Commands\ExtensionInternalCommandTests.cs (4)
192
private sealed class SingleProjectFileProjectLocator :
IProjectLocator
247
private sealed class MultipleProjectsProjectLocator :
IProjectLocator
302
private sealed class NoProjectFileProjectLocator :
IProjectLocator
349
private sealed class ThrowingProjectLocator :
IProjectLocator
Commands\RunCommandTests.cs (4)
165
private sealed class ProjectFileDoesNotExistLocator : Aspire.Cli.Projects.
IProjectLocator
220
private sealed class NoProjectFileProjectLocator :
IProjectLocator
235
private sealed class MultipleProjectFilesProjectLocator :
IProjectLocator
1264
private sealed class SingleFileAppHostProjectLocator : Aspire.Cli.Projects.
IProjectLocator
Commands\SecretCommandTests.cs (1)
83
private sealed class TestProjectLocator(FileInfo appHostFile) :
IProjectLocator
TestServices\NoProjectFileProjectLocator.cs (1)
8
internal sealed class NoProjectFileProjectLocator :
IProjectLocator
TestServices\TestProjectLocator.cs (1)
9
internal sealed class TestProjectLocator :
IProjectLocator
24 references to IProjectLocator
aspire (22)
Commands\AddCommand.cs (2)
26
private readonly
IProjectLocator
_projectLocator;
47
public AddCommand(IPackagingService packagingService, IInteractionService interactionService,
IProjectLocator
projectLocator, IAddCommandPrompter prompter, AspireCliTelemetry telemetry, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory)
Commands\AppHostLauncher.cs (1)
24
IProjectLocator
projectLocator,
Commands\DeployCommand.cs (1)
24
public DeployCommand(IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<DeployCommand> logger, IAnsiConsole ansiConsole)
Commands\DoCommand.cs (1)
24
public DoCommand(IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<DoCommand> logger, IAnsiConsole ansiConsole)
Commands\ExecCommand.cs (2)
23
private readonly
IProjectLocator
_projectLocator;
48
IProjectLocator
projectLocator,
Commands\ExtensionInternalCommand.cs (3)
18
public ExtensionInternalCommand(IFeatures features, ICliUpdateNotifier updateNotifier,
IProjectLocator
projectLocator, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry) : base("extension", "Hidden command for extension integration", features, updateNotifier, executionContext, interactionService, telemetry)
31
private readonly
IProjectLocator
_projectLocator;
33
public GetAppHostCandidatesCommand(IFeatures features, ICliUpdateNotifier updateNotifier,
IProjectLocator
projectLocator, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry) : base("get-apphosts", "Get AppHosts in the specified directory", features, updateNotifier, executionContext, interactionService, telemetry)
Commands\PipelineCommandBase.cs (2)
29
protected readonly
IProjectLocator
_projectLocator;
75
protected PipelineCommandBase(string name, string description, IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger logger, IAnsiConsole ansiConsole)
Commands\PublishCommand.cs (1)
42
public PublishCommand(IDotNetCliRunner runner, IInteractionService interactionService,
IProjectLocator
projectLocator, IPublishCommandPrompter prompter, AspireCliTelemetry telemetry, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, IConfiguration configuration, ILogger<PublishCommand> logger, IAnsiConsole ansiConsole)
Commands\RestoreCommand.cs (2)
26
private readonly
IProjectLocator
_projectLocator;
36
IProjectLocator
projectLocator,
Commands\RunCommand.cs (2)
62
private readonly
IProjectLocator
_projectLocator;
88
IProjectLocator
projectLocator,
Commands\UpdateCommand.cs (2)
26
private readonly
IProjectLocator
_projectLocator;
45
IProjectLocator
projectLocator,
Program.cs (1)
312
builder.Services.AddSingleton<
IProjectLocator
, ProjectLocator>();
Secrets\SecretStoreResolver.cs (1)
13
IProjectLocator
projectLocator,
Utils\EnvironmentChecker\DotNetSdkCheck.cs (1)
19
IProjectLocator
projectLocator,
Aspire.Cli.Tests (2)
Utils\CliTestHelper.cs (2)
336
public Func<IServiceProvider,
IProjectLocator
> ProjectLocatorFactory { get; set; }
342
public
IProjectLocator
CreateDefaultProjectLocatorFactory(IServiceProvider serviceProvider)