28 references to AddCommand
aspire (2)
Commands\RootCommand.cs (1)
120AddCommand addCommand,
Program.cs (1)
449builder.Services.AddTransient<AddCommand>();
Aspire.Cli.Tests (26)
Commands\AddCommandTests.cs (25)
90var command = provider.GetRequiredService<AddCommand>(); 165var command = provider.GetRequiredService<AddCommand>(); 248var command = provider.GetRequiredService<AddCommand>(); 329var command = provider.GetRequiredService<AddCommand>(); 399var command = provider.GetRequiredService<AddCommand>(); 438var 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>(); 807var command = provider.GetRequiredService<AddCommand>(); 911var command = provider.GetRequiredService<AddCommand>(); 996var command = provider.GetRequiredService<AddCommand>(); 1066var command = provider.GetRequiredService<AddCommand>();
Utils\CliTestHelper.cs (1)
177services.AddTransient<AddCommand>();