18 references to AddCommand
aspire (2)
Commands\RootCommand.cs (1)
25AddCommand addCommand,
Program.cs (1)
139builder.Services.AddTransient<AddCommand>();
Aspire.Cli.Tests (16)
Commands\AddCommandTests.cs (15)
88var command = provider.GetRequiredService<AddCommand>(); 163var command = provider.GetRequiredService<AddCommand>(); 246var command = provider.GetRequiredService<AddCommand>(); 326var command = provider.GetRequiredService<AddCommand>(); 396var command = provider.GetRequiredService<AddCommand>(); 439var command = provider.GetRequiredService<AddCommand>(); 512var command = provider.GetRequiredService<AddCommand>(); 534var result = AddCommand.GenerateFriendlyName((package, null!)); // Null is OK for this test.
Utils\CliTestHelper.cs (1)
96services.AddTransient<AddCommand>();