15 types derived from BaseCommand
aspire (13)
Commands\AddCommand.cs (1)
19internal sealed class AddCommand : BaseCommand
Commands\BaseConfigSubCommand.cs (1)
10internal abstract class BaseConfigSubCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, IConfigurationService configurationService, CliExecutionContext executionContext, IInteractionService interactionService) : BaseCommand(name, description, features, updateNotifier, executionContext, interactionService)
Commands\CacheCommand.cs (2)
14internal sealed class CacheCommand : BaseCommand 34private sealed class ClearCommand : BaseCommand
Commands\ConfigCommand.cs (1)
18internal sealed class ConfigCommand : BaseCommand
Commands\ExecCommand.cs (1)
20internal class ExecCommand : BaseCommand
Commands\ExtensionInternalCommand.cs (2)
14internal sealed class ExtensionInternalCommand : BaseCommand 30private sealed class GetAppHostCandidatesCommand : BaseCommand
Commands\NewCommand.cs (1)
21internal sealed class NewCommand : BaseCommand, IPackageMetaPrefetchingCommand
Commands\PublishCommandBase.cs (1)
22internal abstract class PublishCommandBase : BaseCommand
Commands\RunCommand.cs (1)
22internal sealed class RunCommand : BaseCommand
Commands\TemplateCommand.cs (1)
12internal sealed class TemplateCommand : BaseCommand
Commands\UpdateCommand.cs (1)
15internal sealed class UpdateCommand : BaseCommand
Aspire.Cli.Tests (2)
NuGet\NuGetPackagePrefetcherTests.cs (2)
104internal sealed class TestCommand : BaseCommand 116internal sealed class TestCommandWithInterface : BaseCommand, IPackageMetaPrefetchingCommand
12 references to BaseCommand
aspire (9)
CliExecutionContext.cs (3)
15private BaseCommand? _command; 20public BaseCommand? Command 36public TaskCompletionSource<BaseCommand> CommandSelected { get; } = new();
NuGet\NuGetPackagePrefetcher.cs (6)
18var command = await WaitForCommandSelectionAsync(stoppingToken); 71private async Task<BaseCommand?> WaitForCommandSelectionAsync(CancellationToken cancellationToken) 80var command = await executionContext.CommandSelected.Task.WaitAsync(combined.Token); 90private static bool ShouldPrefetchTemplatePackages(BaseCommand? command) 103private static bool ShouldPrefetchCliPackages(BaseCommand? command) 115private static bool IsRuntimeOnlyCommand(BaseCommand command)
Aspire.Cli.Tests (3)
NuGet\NuGetPackagePrefetcherTests.cs (3)
72public static bool TestShouldPrefetchTemplatePackages(BaseCommand? command) 84public static bool TestShouldPrefetchCliPackages(BaseCommand? command) 96private static bool IsRuntimeOnlyCommand(BaseCommand command)