12 instantiations of LaunchProfile
Aspire.Hosting.Azure.Tests (8)
AzureFunctionsTests.cs (7)
263["funcapp"] = new() 280["funcapp"] = new() 297["funcapp"] = new() 314["funcapp"] = new() 330["funcapp"] = new() 347["funcapp"] = new() 364["funcapp"] = new()
PublicApiTests\FunctionsPublicApiTests.cs (1)
105["funcapp"] = new()
Aspire.Hosting.Tests (4)
KestrelConfigTests.cs (1)
387["OnlyHttp"] = new()
ProjectResourceTests.cs (3)
683["http"] = new() 704["https"] = new() 725["https"] = new()
23 references to LaunchProfile
Aspire.Hosting (8)
Dcp\ResourceSnapshotBuilder.cs (1)
207p.GetEffectiveLaunchProfile()?.LaunchProfile is LaunchProfile profile &&
LaunchSettings.cs (1)
17public Dictionary<string, LaunchProfile> Profiles { get; set; } = [];
ProjectResourceBuilderExtensions.cs (1)
342var launchProfile = effectiveLaunchProfile?.LaunchProfile;
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
39var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 48internal static LaunchProfile? GetLaunchProfile(this ProjectResource projectResource, string launchProfileName, bool throwIfNotFound = false) 56var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 145if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 189internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
Aspire.Hosting.Azure.Functions (5)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
39var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 48internal static LaunchProfile? GetLaunchProfile(this ProjectResource projectResource, string launchProfileName, bool throwIfNotFound = false) 56var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 145if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 189internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
Aspire.Hosting.Azure.Tests (8)
AzureFunctionsTests.cs (7)
261Profiles = new Dictionary<string, LaunchProfile> 278Profiles = new Dictionary<string, LaunchProfile> 295Profiles = new Dictionary<string, LaunchProfile> 312Profiles = new Dictionary<string, LaunchProfile> 328Profiles = new Dictionary<string, LaunchProfile> 345Profiles = new Dictionary<string, LaunchProfile> 362Profiles = new Dictionary<string, LaunchProfile>
PublicApiTests\FunctionsPublicApiTests.cs (1)
103Profiles = new Dictionary<string, LaunchProfile>
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
269LaunchProfile? launchProfile;
Aspire.Hosting.Tests (1)
ProjectResourceTests.cs (1)
667protected Dictionary<string, LaunchProfile>? Profiles { get; set; } = new();