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