12 references to UpdateCommand
aspire (6)
Commands\RootCommand.cs (1)
215
UpdateCommand
updateCommand,
Commands\UpdateCommand.cs (2)
36
private readonly ILogger<
UpdateCommand
> _logger;
76
ILogger<
UpdateCommand
> logger,
Configuration\ConfigSourceService.cs (2)
66
if (_check is not null || _stopping.IsCancellationRequested || executionContext.Command is
UpdateCommand
{ IsConfigSourceRefresh: true })
284
if (!force && executionContext.Command is
UpdateCommand
{ IsConfigSourceRefresh: true })
Program.cs (1)
741
builder.Services.AddTransient<
UpdateCommand
>();
Aspire.Cli.Tests (6)
Commands\ConfigSourceCommandTests.cs (1)
251
Assert.False(Assert.IsType<
UpdateCommand
>(result.CommandResult.Command).RequiresCliPackageMetadata);
Commands\UpdateCommandTests.cs (2)
56
var
command = provider.GetRequiredService<
UpdateCommand
>();
NuGet\NuGetPackagePrefetcherTests.cs (2)
225
[InlineData(typeof(
UpdateCommand
), false, true)]
245
[InlineData(typeof(
UpdateCommand
), true)]
Utils\CliTestHelper.cs (1)
334
services.AddTransient<
UpdateCommand
>();