7 references to CommandSelected
aspire (3)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
242var command = await executionContext.CommandSelected.Task.WaitAsync(combined.Token).ConfigureAwait(false);
CliExecutionContext.cs (1)
204CommandSelected.TrySetResult(value);
NuGet\NuGetPackagePrefetcher.cs (1)
111return await executionContext.CommandSelected.Task.WaitAsync(Timeout.InfiniteTimeSpan, timeProvider, cancellationToken);
Aspire.Cli.Tests (4)
NuGet\NuGetPackagePrefetcherTests.cs (4)
114executionContext.CommandSelected.TrySetResult(new TestCommand(prefetchesTemplatePackages: true, prefetchesCliPackages: true)); 186executionContext.CommandSelected.TrySetResult(new TestCommand(prefetchesTemplatePackages: true, prefetchesCliPackages: true)); 387executionContext.CommandSelected.TrySetResult(provider.GetRequiredService<LsCommand>()); 400executionContext.CommandSelected.TrySetResult(new TestCommand(prefetchesTemplatePackages: true, prefetchesCliPackages: true));