28 references to LaunchCommand
Aspire.Hosting (11)
Dcp\ResourceSnapshotBuilder.cs (11)
187.RemoveResourceProperty(KnownProperties.Project.LaunchCommand) 282directProperties.Add(new(KnownProperties.Project.LaunchCommand, "direct")); 311? [new(KnownProperties.Project.LaunchCommand, "ide"), new(KnownProperties.Project.Configuration, buildConfiguration)] 312: [new(KnownProperties.Project.LaunchCommand, "ide")]; 318return [new(KnownProperties.Project.LaunchCommand, null)]; 325return [new(KnownProperties.Project.LaunchCommand, null)]; 352return [new(KnownProperties.Project.LaunchCommand, null)]; 362return [new(KnownProperties.Project.LaunchCommand, null)]; 382return [new(KnownProperties.Project.LaunchCommand, null)]; 392return [new(KnownProperties.Project.LaunchCommand, null)]; 399properties.Add(new(KnownProperties.Project.LaunchCommand, launchCommand));
Aspire.Hosting.Tests (17)
Dcp\ResourceSnapshotBuilderTests.cs (17)
150Assert.Equal("ide", GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 159Assert.False(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).IsSensitive); 202Assert.Equal("ide", GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 251Assert.Equal("direct", GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 257Assert.False(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).IsSensitive); 293Assert.Empty(snapshot.Properties.Where(property => property.Name is KnownProperties.Project.LaunchCommand 355Assert.Equal(expectedLaunchCommand, Assert.IsType<string>(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value)); 359Assert.False(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).IsSensitive); 402Assert.Null(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 446Assert.Null(GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 478snapshot.Properties.Where(property => property.Name is KnownProperties.Project.LaunchCommand 482Assert.Equal(KnownProperties.Project.LaunchCommand, property.Name); 507snapshot.Properties.Where(property => property.Name is KnownProperties.Project.LaunchCommand 511Assert.Equal(KnownProperties.Project.LaunchCommand, property.Name); 540Assert.Equal(launchCommand, GetProperty(snapshot, KnownProperties.Project.LaunchCommand).Value); 563var launchCommand = GetProperty(snapshot, KnownProperties.Project.LaunchCommand); 587var launchCommand = GetProperty(snapshot, KnownProperties.Project.LaunchCommand);