31 references to LaunchCommand
Aspire.Hosting (12)
Dcp\ResourceSnapshotBuilder.cs (12)
187.RemoveResourceProperty(KnownProperties.Project.LaunchCommand) 282directProperties.Add(new(KnownProperties.Project.LaunchCommand, "direct")); 315? [new(KnownProperties.Project.LaunchCommand, "ide"), new(KnownProperties.Project.Configuration, buildConfiguration)] 316: [new(KnownProperties.Project.LaunchCommand, "ide")]; 319return [new(KnownProperties.Project.LaunchCommand, null)]; 325return [new(KnownProperties.Project.LaunchCommand, null)]; 332return [new(KnownProperties.Project.LaunchCommand, null)]; 359return [new(KnownProperties.Project.LaunchCommand, null)]; 369return [new(KnownProperties.Project.LaunchCommand, null)]; 389return [new(KnownProperties.Project.LaunchCommand, null)]; 399return [new(KnownProperties.Project.LaunchCommand, null)]; 406properties.Add(new(KnownProperties.Project.LaunchCommand, launchCommand));
Aspire.Hosting.Tests (19)
Dcp\ResourceSnapshotBuilderTests.cs (19)
158Assert.Equal("ide", GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 168Assert.False(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).IsSensitive); 215snapshot.Properties.Where(property => property.Name is KnownProperties.Project.LaunchCommand 219Assert.Equal(KnownProperties.Project.LaunchCommand, property.Name); 265Assert.Equal("ide", GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 314Assert.Equal("direct", GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 320Assert.False(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).IsSensitive); 356Assert.Empty(snapshot.Properties.Where(property => property.Name is KnownProperties.Project.LaunchCommand 418Assert.Equal(expectedLaunchCommand, Assert.IsType<string>(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value)); 422Assert.False(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).IsSensitive); 465Assert.Null(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 509Assert.Null(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 541snapshot.Properties.Where(property => property.Name is KnownProperties.Project.LaunchCommand 545Assert.Equal(KnownProperties.Project.LaunchCommand, property.Name); 570snapshot.Properties.Where(property => property.Name is KnownProperties.Project.LaunchCommand 574Assert.Equal(KnownProperties.Project.LaunchCommand, property.Name); 603Assert.Equal(launchCommand, GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 626var launchCommand = GetProperty(snapshot, KnownProperties.Project.LaunchCommand); 650var launchCommand = GetProperty(snapshot, KnownProperties.Project.LaunchCommand);