35 instantiations of LaunchSettings
Aspire.Hosting (1)
LaunchSettingsSerializerContext.LaunchSettings.g.cs (1)
29ObjectCreator = () => new global::Aspire.Hosting.LaunchSettings(),
Aspire.Hosting.Azure.Functions (1)
LaunchSettingsSerializerContext.LaunchSettings.g.cs (1)
31ObjectCreator = () => new global::Aspire.Hosting.LaunchSettings(),
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
1724public LaunchSettings LaunchSettings => new()
AzureDeployerTests.cs (1)
935public LaunchSettings LaunchSettings => new()
AzureFunctionsTests.cs (7)
425public LaunchSettings LaunchSettings => new() 442public LaunchSettings LaunchSettings => new() 459public LaunchSettings LaunchSettings => new() 476public LaunchSettings LaunchSettings => new() 492public LaunchSettings LaunchSettings => new() 509public LaunchSettings LaunchSettings => new() 526public LaunchSettings LaunchSettings => new()
PublicApiTests\FunctionsPublicApiTests.cs (1)
100public LaunchSettings LaunchSettings => new()
Aspire.Hosting.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
211public LaunchSettings LaunchSettings { get; } = new();
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
544public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Testing (1)
LaunchSettingsSerializerContext.LaunchSettings.g.cs (1)
31ObjectCreator = () => new global::Aspire.Hosting.LaunchSettings(),
Aspire.Hosting.Tests (20)
Dashboard\DashboardResourceTests.cs (1)
577public LaunchSettings LaunchSettings { get; } = new();
Dcp\DcpExecutorTests.cs (4)
1732public LaunchSettings LaunchSettings { get; } = new(); 1742var settings = new LaunchSettings(); 1770public LaunchSettings LaunchSettings { get; } = new(); 1780var settings = new LaunchSettings();
ExternalServiceTests.cs (1)
455public LaunchSettings LaunchSettings { get; } = new();
Orchestrator\ApplicationOrchestratorTests.cs (2)
493public LaunchSettings LaunchSettings { get; } = new(); 499public LaunchSettings LaunchSettings { get; } = new();
ProjectResourceTests.cs (1)
763public LaunchSettings? LaunchSettings => new LaunchSettings { Profiles = Profiles! };
PublishAsDockerfileTests.cs (1)
374public LaunchSettings? LaunchSettings => new()
WithEndpointTests.cs (3)
689public LaunchSettings? LaunchSettings { get; } = new(); 695public LaunchSettings LaunchSettings { get; } = new(); 701public LaunchSettings LaunchSettings { get; } = new();
WithEnvironmentTests.cs (2)
500public LaunchSettings LaunchSettings { get; } = new(); 506public LaunchSettings LaunchSettings { get; } = new();
WithIconNameTests.cs (1)
108public LaunchSettings LaunchSettings { get; set; } = new();
WithReferenceTests.cs (2)
418public LaunchSettings LaunchSettings { get; } = new(); 424public LaunchSettings LaunchSettings { get; } = new();
WithUrlsTests.cs (2)
855public LaunchSettings LaunchSettings { get; } = new(); 862public LaunchSettings LaunchSettings { get; } = new()
107 references to LaunchSettings
Aspire.Hosting (22)
IProjectMetadata.cs (1)
23public LaunchSettings? LaunchSettings => null;
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
34if (type == typeof(global::Aspire.Hosting.LaunchSettings))
LaunchSettingsSerializerContext.LaunchSettings.g.cs (14)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings>? _LaunchSettings; 18public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> LaunchSettings 20get => _LaunchSettings ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings>)Options.GetTypeInfo(typeof(global::Aspire.Hosting.LaunchSettings)); 23private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> Create_LaunchSettings(global::System.Text.Json.JsonSerializerOptions options) 25if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Hosting.LaunchSettings>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> jsonTypeInfo)) 27var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Hosting.LaunchSettings> 36jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Hosting.LaunchSettings>(options, objectInfo); 53DeclaringType = typeof(global::Aspire.Hosting.LaunchSettings), 55Getter = static obj => ((global::Aspire.Hosting.LaunchSettings)obj).Profiles, 56Setter = static (obj, value) => ((global::Aspire.Hosting.LaunchSettings)obj).Profiles = value!, 72private void LaunchSettingsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Hosting.LaunchSettings? value) 83DictionaryStringLaunchProfileSerializeHandler(writer, ((global::Aspire.Hosting.LaunchSettings)value).Profiles);
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
17internal static LaunchSettings? GetLaunchSettings(this ProjectResource projectResource) 69private static LaunchSettings? GetLaunchSettings(this IProjectMetadata projectMetadata, string resourceName) 100var settings = JsonSerializer.Deserialize(stream, LaunchSettingsSerializerContext.Default.LaunchSettings); 120var launchSettings = GetLaunchSettings(projectResource); 151var launchSettings = GetLaunchSettings(projectResource);
src\Shared\LaunchProfiles\LaunchSettingsSerializerContext.cs (1)
9[JsonSerializable(typeof(LaunchSettings))]
Aspire.Hosting.Azure.Functions (23)
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
34if (type == typeof(global::Aspire.Hosting.LaunchSettings))
LaunchSettingsSerializerContext.LaunchSettings.g.cs (16)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings>? _LaunchSettings; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> LaunchSettings 22get => _LaunchSettings ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings>)Options.GetTypeInfo(typeof(global::Aspire.Hosting.LaunchSettings)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> Create_LaunchSettings(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Hosting.LaunchSettings>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Hosting.LaunchSettings> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Hosting.LaunchSettings).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Hosting.LaunchSettings>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Hosting.LaunchSettings), 58Getter = static obj => ((global::Aspire.Hosting.LaunchSettings)obj).Profiles, 59Setter = static (obj, value) => ((global::Aspire.Hosting.LaunchSettings)obj).Profiles = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.LaunchSettings).GetProperty("Profiles", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Aspire.Hosting.LaunchProfile>), global::System.Array.Empty<global::System.Type>(), null), 78private void LaunchSettingsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Hosting.LaunchSettings? value) 89DictionaryStringLaunchProfileSerializeHandler(writer, ((global::Aspire.Hosting.LaunchSettings)value).Profiles);
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
17internal static LaunchSettings? GetLaunchSettings(this ProjectResource projectResource) 69private static LaunchSettings? GetLaunchSettings(this IProjectMetadata projectMetadata, string resourceName) 100var settings = JsonSerializer.Deserialize(stream, LaunchSettingsSerializerContext.Default.LaunchSettings); 120var launchSettings = GetLaunchSettings(projectResource); 151var launchSettings = GetLaunchSettings(projectResource);
src\Shared\LaunchProfiles\LaunchSettingsSerializerContext.cs (1)
9[JsonSerializable(typeof(LaunchSettings))]
Aspire.Hosting.Azure.Tests (11)
AzureContainerAppsTests.cs (1)
1724public LaunchSettings LaunchSettings => new()
AzureDeployerTests.cs (1)
935public LaunchSettings LaunchSettings => new()
AzureEnvironmentResourceTests.cs (1)
183public LaunchSettings? LaunchSettings { get; set; }
AzureFunctionsTests.cs (7)
425public LaunchSettings LaunchSettings => new() 442public LaunchSettings LaunchSettings => new() 459public LaunchSettings LaunchSettings => new() 476public LaunchSettings LaunchSettings => new() 492public LaunchSettings LaunchSettings => new() 509public LaunchSettings LaunchSettings => new() 526public LaunchSettings LaunchSettings => new()
PublicApiTests\FunctionsPublicApiTests.cs (1)
100public LaunchSettings LaunchSettings => new()
Aspire.Hosting.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
211public LaunchSettings LaunchSettings { get; } = new();
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
537public LaunchSettings? LaunchSettings { get; set; } 544public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
360public LaunchSettings? LaunchSettings { get; set; }
Aspire.Hosting.Testing (21)
DistributedApplicationFactory.cs (3)
270var appHostLaunchSettings = GetLaunchSettings(appHostProjectPath); 338private static LaunchSettings? GetLaunchSettings(string? appHostPath) 361var settings = JsonSerializer.Deserialize(stream, LaunchSettingsSerializerContext.Default.LaunchSettings);
LaunchSettingsSerializerContext.GetJsonTypeInfo.g.cs (1)
34if (type == typeof(global::Aspire.Hosting.LaunchSettings))
LaunchSettingsSerializerContext.LaunchSettings.g.cs (16)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings>? _LaunchSettings; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> LaunchSettings 22get => _LaunchSettings ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings>)Options.GetTypeInfo(typeof(global::Aspire.Hosting.LaunchSettings)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> Create_LaunchSettings(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Hosting.LaunchSettings>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Hosting.LaunchSettings> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Hosting.LaunchSettings> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Hosting.LaunchSettings).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Hosting.LaunchSettings>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Hosting.LaunchSettings), 58Getter = static obj => ((global::Aspire.Hosting.LaunchSettings)obj).Profiles, 59Setter = static (obj, value) => ((global::Aspire.Hosting.LaunchSettings)obj).Profiles = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Hosting.LaunchSettings).GetProperty("Profiles", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Aspire.Hosting.LaunchProfile>), global::System.Array.Empty<global::System.Type>(), null), 78private void LaunchSettingsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Hosting.LaunchSettings? value) 89DictionaryStringLaunchProfileSerializeHandler(writer, ((global::Aspire.Hosting.LaunchSettings)value).Profiles);
src\Shared\LaunchProfiles\LaunchSettingsSerializerContext.cs (1)
9[JsonSerializable(typeof(LaunchSettings))]
Aspire.Hosting.Tests (26)
Dashboard\DashboardResourceTests.cs (1)
577public LaunchSettings LaunchSettings { get; } = new();
Dcp\DcpExecutorTests.cs (8)
1732public LaunchSettings LaunchSettings { get; } = new(); 1738public LaunchSettings LaunchSettings { get; } = CreateLaunchSettings(); 1740private static LaunchSettings CreateLaunchSettings() 1742var settings = new LaunchSettings(); 1770public LaunchSettings LaunchSettings { get; } = new(); 1776public LaunchSettings LaunchSettings { get; } = CreateLaunchSettings(); 1778private static LaunchSettings CreateLaunchSettings() 1780var settings = new LaunchSettings();
ExternalServiceTests.cs (1)
455public LaunchSettings LaunchSettings { get; } = new();
Orchestrator\ApplicationOrchestratorTests.cs (2)
493public LaunchSettings LaunchSettings { get; } = new(); 499public LaunchSettings LaunchSettings { get; } = new();
ProjectResourceTests.cs (2)
754public LaunchSettings? LaunchSettings { get; set; } 763public LaunchSettings? LaunchSettings => new LaunchSettings { Profiles = Profiles! };
PublishAsDockerfileTests.cs (2)
368public LaunchSettings? LaunchSettings { get; set; } 374public LaunchSettings? LaunchSettings => new()
WithEndpointTests.cs (3)
689public LaunchSettings? LaunchSettings { get; } = new(); 695public LaunchSettings LaunchSettings { get; } = new(); 701public LaunchSettings LaunchSettings { get; } = new();
WithEnvironmentTests.cs (2)
500public LaunchSettings LaunchSettings { get; } = new(); 506public LaunchSettings LaunchSettings { get; } = new();
WithIconNameTests.cs (1)
108public LaunchSettings LaunchSettings { get; set; } = new();
WithReferenceTests.cs (2)
418public LaunchSettings LaunchSettings { get; } = new(); 424public LaunchSettings LaunchSettings { get; } = new();
WithUrlsTests.cs (2)
855public LaunchSettings LaunchSettings { get; } = new(); 862public LaunchSettings LaunchSettings { get; } = new()