6 instantiations of LaunchProfileAnnotation
Aspire.Hosting (1)
ProjectResourceBuilderExtensions.cs (1)
626builder.WithAnnotation(new LaunchProfileAnnotation(options.LaunchProfileName));
Aspire.Hosting.Tests (4)
Dcp\DcpExecutorTests.cs (2)
7955.WithAnnotation(new LaunchProfileAnnotation("http")) 8899.WithAnnotation(new LaunchProfileAnnotation("http"))
Dcp\ResourceSnapshotBuilderTests.cs (2)
65project.Annotations.Add(new LaunchProfileAnnotation("https")); 158resource.Annotations.Add(new LaunchProfileAnnotation("https"));
ProjectResourceExtensions.AppHost (1)
AppHost.cs (1)
59.WithAnnotation(new LaunchProfileAnnotation(launchProfileName));
7 references to LaunchProfileAnnotation
Aspire.Hosting (2)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (2)
173if (projectResource.TryGetLastAnnotation<LaunchProfileAnnotation>(out var launchProfileAnnotation))
Aspire.Hosting.Azure.Functions (2)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (2)
173if (projectResource.TryGetLastAnnotation<LaunchProfileAnnotation>(out var launchProfileAnnotation))
Aspire.Hosting.Dotnet (2)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (2)
173if (projectResource.TryGetLastAnnotation<LaunchProfileAnnotation>(out var launchProfileAnnotation))
Aspire.Hosting.Tests (1)
ProjectResourceTests.cs (1)
308Assert.Contains(resource.Annotations, a => a is LaunchProfileAnnotation);