6 writes to Profiles
Aspire.Hosting.Azure.Tests (5)
AzureFunctionsTests.cs (5)
170Profiles = new Dictionary<string, LaunchProfile> 187Profiles = new Dictionary<string, LaunchProfile> 204Profiles = new Dictionary<string, LaunchProfile> 221Profiles = new Dictionary<string, LaunchProfile> 237Profiles = new Dictionary<string, LaunchProfile>
Aspire.Hosting.Tests (1)
ProjectResourceTests.cs (1)
671public LaunchSettings? LaunchSettings => new LaunchSettings { Profiles = Profiles! };
8 references to Profiles
Aspire.Hosting (4)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (4)
39var profiles = projectResource.GetLaunchSettings()?.Profiles; 108if (launchSettings == null || launchSettings.Profiles.Count == 0) 114launchProfileName = launchSettings.Profiles.Keys.First(); 134if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null)
Aspire.Hosting.Azure.Functions (4)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (4)
39var profiles = projectResource.GetLaunchSettings()?.Profiles; 108if (launchSettings == null || launchSettings.Profiles.Count == 0) 114launchProfileName = launchSettings.Profiles.Keys.First(); 134if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null)