14 instantiations of LaunchProfile
Aspire.Hosting.Azure.Tests (8)
AzureFunctionsTests.cs (7)
669
["funcapp"] =
new
()
686
["funcapp"] =
new
()
703
["funcapp"] =
new
()
720
["funcapp"] =
new
()
736
["funcapp"] =
new
()
753
["funcapp"] =
new
()
770
["funcapp"] =
new
()
PublicApiTests\FunctionsPublicApiTests.cs (1)
105
["funcapp"] =
new
()
Aspire.Hosting.Tests (6)
KestrelConfigTests.cs (1)
387
["OnlyHttp"] =
new
()
ProjectResourceTests.cs (3)
688
["http"] =
new
()
709
["https"] =
new
()
730
["https"] =
new
()
WithUrlsTests.cs (2)
632
["http"] =
new
()
638
["custom"] =
new
()
23 references to LaunchProfile
Aspire.Hosting (7)
LaunchSettings.cs (1)
17
public Dictionary<string,
LaunchProfile
> Profiles { get; set; } = [];
ProjectResourceBuilderExtensions.cs (1)
342
var
launchProfile = effectiveLaunchProfile?.LaunchProfile;
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
39
var
launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound);
48
internal static
LaunchProfile
? GetLaunchProfile(this ProjectResource projectResource, string launchProfileName, bool throwIfNotFound = false)
56
var found = profiles.TryGetValue(launchProfileName, out
var
launchProfile);
145
if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out
var
launchProfile) || launchProfile is null)
189
internal sealed record class NamedLaunchProfile(string Name,
LaunchProfile
LaunchProfile);
Aspire.Hosting.Azure.Functions (5)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
39
var
launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound);
48
internal static
LaunchProfile
? GetLaunchProfile(this ProjectResource projectResource, string launchProfileName, bool throwIfNotFound = false)
56
var found = profiles.TryGetValue(launchProfileName, out
var
launchProfile);
145
if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out
var
launchProfile) || launchProfile is null)
189
internal sealed record class NamedLaunchProfile(string Name,
LaunchProfile
LaunchProfile);
Aspire.Hosting.Azure.Tests (8)
AzureFunctionsTests.cs (7)
667
Profiles = new Dictionary<string,
LaunchProfile
>
684
Profiles = new Dictionary<string,
LaunchProfile
>
701
Profiles = new Dictionary<string,
LaunchProfile
>
718
Profiles = new Dictionary<string,
LaunchProfile
>
734
Profiles = new Dictionary<string,
LaunchProfile
>
751
Profiles = new Dictionary<string,
LaunchProfile
>
768
Profiles = new Dictionary<string,
LaunchProfile
>
PublicApiTests\FunctionsPublicApiTests.cs (1)
103
Profiles = new Dictionary<string,
LaunchProfile
>
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
277
LaunchProfile
? launchProfile;
Aspire.Hosting.Tests (2)
ProjectResourceTests.cs (1)
672
protected Dictionary<string,
LaunchProfile
>? Profiles { get; set; } = new();
WithUrlsTests.cs (1)
630
Profiles = new Dictionary<string,
LaunchProfile
>