2 writes to Command
aspire (1)
Commands\BaseCommand.cs (1)
112_executionContext.Command = this;
Aspire.Cli.Tests (1)
NuGet\NuGetPackagePrefetcherTests.cs (1)
32executionContext.Command = testCommand;
6 references to Command
aspire (4)
Configuration\ConfigSourceService.cs (2)
67if (_check is not null || _stopping.IsCancellationRequested || executionContext.Command is UpdateCommand { IsConfigSourceRefresh: true }) 402if (!force && executionContext.Command is UpdateCommand { IsConfigSourceRefresh: true })
Packaging\PackagingService.cs (1)
255if (_executionContext.Command is BaseCommand { PrefetchesTemplatePackageMetadata: false } command)
Utils\CliUpdateNotifier.cs (1)
101if (executionContext.Command is BaseCommand { PrefetchesCliPackageMetadata: false } command)
Aspire.Cli.Tests (2)
NuGet\NuGetPackagePrefetcherTests.cs (2)
29Assert.Null(executionContext.Command); 33Assert.Same(testCommand, executionContext.Command);