18 references to AddCommand
aspire (2)
Commands\RootCommand.cs (1)
26AddCommand addCommand,
Program.cs (1)
152builder.Services.AddTransient<AddCommand>();
Aspire.Cli.Tests (16)
Commands\AddCommandTests.cs (15)
89var command = provider.GetRequiredService<AddCommand>(); 164var command = provider.GetRequiredService<AddCommand>(); 247var command = provider.GetRequiredService<AddCommand>(); 327var command = provider.GetRequiredService<AddCommand>(); 397var command = provider.GetRequiredService<AddCommand>(); 440var command = provider.GetRequiredService<AddCommand>(); 513var command = provider.GetRequiredService<AddCommand>(); 535var result = AddCommand.GenerateFriendlyName((package, null!)); // Null is OK for this test.
Utils\CliTestHelper.cs (1)
104services.AddTransient<AddCommand>();