12 references to StopCommand
aspire (4)
Commands\RootCommand.cs (1)
196StopCommand stopCommand,
Commands\StopCommand.cs (2)
27private readonly ILogger<StopCommand> _logger; 106ILogger<StopCommand> logger,
Program.cs (1)
702builder.Services.AddTransient<StopCommand>();
Aspire.Cli.Tests (8)
Commands\StopCommandTests.cs (7)
1745[InlineData("stop --wait --non-interactive", StopCommand.DefaultResourceTeardownTimeoutSeconds)] 1747[InlineData("stop --wait --timeout 4294967 --non-interactive", StopCommand.MaximumResourceTeardownTimeoutSeconds)] 1799timeProvider.Advance(TimeSpan.FromSeconds(StopCommand.DefaultResourceTeardownTimeoutSeconds)); 1819string.Format(CultureInfo.CurrentCulture, StopCommandStrings.ResourceTeardownTimedOut, appHostIdentifier, StopCommand.DefaultResourceTeardownTimeoutSeconds), 1843timeProvider.Advance(TimeSpan.FromSeconds(StopCommand.DefaultResourceTeardownTimeoutSeconds)); 1884string.Format(CultureInfo.CurrentCulture, StopCommandStrings.ResourceTeardownTimedOut, appHostIdentifier, StopCommand.DefaultResourceTeardownTimeoutSeconds), 2197? string.Format(CultureInfo.CurrentCulture, StopCommandStrings.TimeoutInvalid, StopCommand.MaximumResourceTeardownTimeoutSeconds)
Utils\CliTestHelper.cs (1)
299services.AddTransient<StopCommand>();