10 references to RestartCommand
Aspire.Hosting (2)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
99name: KnownResourceCommands.RestartCommand,
ApplicationModel\ResourceCommandService.cs (1)
25[KnownResourceCommands.LegacyRestartCommand] = KnownResourceCommands.RestartCommand,
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectResourceTests.cs (2)
573var restartCommand = resource.Annotations.OfType<ResourceCommandAnnotation>().Single(a => a.Name == KnownResourceCommands.RestartCommand); 601var restartCommand = resource.Annotations.OfType<ResourceCommandAnnotation>().Single(a => a.Name == KnownResourceCommands.RestartCommand);
Aspire.Hosting.Tests (6)
Dashboard\DashboardEventHandlersTests.cs (1)
222command => Assert.Equal(KnownResourceCommands.RestartCommand, command.Name),
Dcp\DcpExecutorTests.cs (2)
12747a => Assert.Equal(KnownResourceCommands.RestartCommand, a.Name)); 12756a => Assert.Equal(KnownResourceCommands.RestartCommand, a.Name),
ResourceCommandAnnotationTests.cs (3)
92var restartCommand = resourceBuilder.Resource.Annotations.OfType<ResourceCommandAnnotation>().Single(a => a.Name == KnownResourceCommands.RestartCommand); 107var restartCommand = projectResource.Annotations.OfType<ResourceCommandAnnotation>().Single(a => a.Name == KnownResourceCommands.RestartCommand); 122var restartCommand = csharpAppResource.Annotations.OfType<ResourceCommandAnnotation>().Single(a => a.Name == KnownResourceCommands.RestartCommand);