2 writes to Command
aspire (1)
Commands\BaseCommand.cs (1)
115_executionContext.Command = this;
Aspire.Cli.Tests (1)
NuGet\NuGetPackagePrefetcherTests.cs (1)
32executionContext.Command = testCommand;
7 references to Command
aspire (5)
Configuration\ConfigSourceService.cs (3)
69if (_check is not null || _stopping.IsCancellationRequested || executionContext.Command is UpdateCommand { IsConfigSourceRefresh: true }) 72_check is not null, _stopping.IsCancellationRequested, executionContext.Command is UpdateCommand { IsConfigSourceRefresh: true }); 475if (!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);