20 references to AddCommand
aspire (2)
Commands\RootCommand.cs (1)
26AddCommand addCommand,
Program.cs (1)
210builder.Services.AddTransient<AddCommand>();
Aspire.Cli.Tests (18)
Commands\AddCommandTests.cs (17)
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. 738var command = provider.GetRequiredService<AddCommand>();
Utils\CliTestHelper.cs (1)
116services.AddTransient<AddCommand>();