26 references to AddCommand
aspire (2)
Commands\RootCommand.cs (1)
121AddCommand addCommand,
Program.cs (1)
369builder.Services.AddTransient<AddCommand>();
Aspire.Cli.Tests (24)
Commands\AddCommandTests.cs (23)
90var command = provider.GetRequiredService<AddCommand>(); 165var command = provider.GetRequiredService<AddCommand>(); 248var command = provider.GetRequiredService<AddCommand>(); 328var command = provider.GetRequiredService<AddCommand>(); 398var command = provider.GetRequiredService<AddCommand>(); 441var command = provider.GetRequiredService<AddCommand>(); 514var command = provider.GetRequiredService<AddCommand>(); 536var result = AddCommand.GenerateFriendlyName((package, null!)); // Null is OK for this test. 739var command = provider.GetRequiredService<AddCommand>(); 844var command = provider.GetRequiredService<AddCommand>(); 927var command = provider.GetRequiredService<AddCommand>(); 997var command = provider.GetRequiredService<AddCommand>();
Utils\CliTestHelper.cs (1)
175services.AddTransient<AddCommand>();