36 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)
29ObjectCreator = () => new global::Aspire.Hosting.LaunchSettings(),
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
1730public LaunchSettings LaunchSettings => new()
AzureDeployerTests.cs (1)
1264public LaunchSettings LaunchSettings => new()
AzureFunctionsTests.cs (7)
430public LaunchSettings LaunchSettings => new() 447public LaunchSettings LaunchSettings => new() 464public LaunchSettings LaunchSettings => new() 481public LaunchSettings LaunchSettings => new() 497public LaunchSettings LaunchSettings => new() 514public LaunchSettings LaunchSettings => new() 531public 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)
898public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
421public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Testing (1)
LaunchSettingsSerializerContext.LaunchSettings.g.cs (1)
29ObjectCreator = () => new global::Aspire.Hosting.LaunchSettings(),
Aspire.Hosting.Tests (20)
Dashboard\DashboardResourceTests.cs (1)
649public LaunchSettings LaunchSettings { get; } = new();
Dcp\DcpExecutorTests.cs (4)
2188public LaunchSettings LaunchSettings { get; } = new(); 2198var settings = new LaunchSettings(); 2226public LaunchSettings LaunchSettings { get; } = new(); 2236var settings = new LaunchSettings();
ExternalServiceTests.cs (1)
572public LaunchSettings LaunchSettings { get; } = new();
Orchestrator\ApplicationOrchestratorTests.cs (2)
529public LaunchSettings LaunchSettings { get; } = new(); 535public LaunchSettings LaunchSettings { get; } = new();
ProjectResourceTests.cs (1)
899public LaunchSettings? LaunchSettings => new LaunchSettings { Profiles = Profiles! };
PublishAsDockerfileTests.cs (1)
469public LaunchSettings? LaunchSettings => new()
WithEndpointTests.cs (3)
706public LaunchSettings? LaunchSettings { get; } = new(); 720public LaunchSettings LaunchSettings { get; } = new(); 726public LaunchSettings LaunchSettings { get; } = new();
WithEnvironmentTests.cs (2)
510public LaunchSettings LaunchSettings { get; } = new(); 516public LaunchSettings LaunchSettings { get; } = new();
WithIconNameTests.cs (1)
108public LaunchSettings LaunchSettings { get; set; } = new();
WithReferenceTests.cs (2)
762public LaunchSettings LaunchSettings { get; } = new(); 768public LaunchSettings LaunchSettings { get; } = new();
WithUrlsTests.cs (2)
934public LaunchSettings LaunchSettings { get; } = new(); 941public LaunchSettings LaunchSettings { get; } = new()
105 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) 116var settings = JsonSerializer.Deserialize(stream, LaunchSettingsSerializerContext.Default.LaunchSettings); 136var launchSettings = GetLaunchSettings(projectResource); 167var launchSettings = GetLaunchSettings(projectResource);
src\Shared\LaunchProfiles\LaunchSettingsSerializerContext.cs (1)
9[JsonSerializable(typeof(LaunchSettings))]
Aspire.Hosting.Azure.Functions (21)
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) 116var settings = JsonSerializer.Deserialize(stream, LaunchSettingsSerializerContext.Default.LaunchSettings); 136var launchSettings = GetLaunchSettings(projectResource); 167var launchSettings = GetLaunchSettings(projectResource);
src\Shared\LaunchProfiles\LaunchSettingsSerializerContext.cs (1)
9[JsonSerializable(typeof(LaunchSettings))]
Aspire.Hosting.Azure.Tests (11)
AzureContainerAppsTests.cs (1)
1730public LaunchSettings LaunchSettings => new()
AzureDeployerTests.cs (1)
1264public LaunchSettings LaunchSettings => new()
AzureEnvironmentResourceTests.cs (1)
180public LaunchSettings? LaunchSettings { get; set; }
AzureFunctionsTests.cs (7)
430public LaunchSettings LaunchSettings => new() 447public LaunchSettings LaunchSettings => new() 464public LaunchSettings LaunchSettings => new() 481public LaunchSettings LaunchSettings => new() 497public LaunchSettings LaunchSettings => new() 514public LaunchSettings LaunchSettings => new() 531public 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)
891public LaunchSettings? LaunchSettings { get; set; } 898public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
414public LaunchSettings? LaunchSettings { get; set; } 421public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Testing (19)
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 (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\LaunchSettingsSerializerContext.cs (1)
9[JsonSerializable(typeof(LaunchSettings))]
Aspire.Hosting.Tests (27)
Dashboard\DashboardResourceTests.cs (1)
649public LaunchSettings LaunchSettings { get; } = new();
Dcp\DcpExecutorTests.cs (8)
2188public LaunchSettings LaunchSettings { get; } = new(); 2194public LaunchSettings LaunchSettings { get; } = CreateLaunchSettings(); 2196private static LaunchSettings CreateLaunchSettings() 2198var settings = new LaunchSettings(); 2226public LaunchSettings LaunchSettings { get; } = new(); 2232public LaunchSettings LaunchSettings { get; } = CreateLaunchSettings(); 2234private static LaunchSettings CreateLaunchSettings() 2236var settings = new LaunchSettings();
ExternalServiceTests.cs (1)
572public LaunchSettings LaunchSettings { get; } = new();
Orchestrator\ApplicationOrchestratorTests.cs (2)
529public LaunchSettings LaunchSettings { get; } = new(); 535public LaunchSettings LaunchSettings { get; } = new();
ProjectResourceTests.cs (2)
890public LaunchSettings? LaunchSettings { get; set; } 899public LaunchSettings? LaunchSettings => new LaunchSettings { Profiles = Profiles! };
PublishAsDockerfileTests.cs (2)
463public LaunchSettings? LaunchSettings { get; set; } 469public LaunchSettings? LaunchSettings => new()
WithEndpointTests.cs (4)
706public LaunchSettings? LaunchSettings { get; } = new(); 713public LaunchSettings? LaunchSettings => null; 720public LaunchSettings LaunchSettings { get; } = new(); 726public LaunchSettings LaunchSettings { get; } = new();
WithEnvironmentTests.cs (2)
510public LaunchSettings LaunchSettings { get; } = new(); 516public LaunchSettings LaunchSettings { get; } = new();
WithIconNameTests.cs (1)
108public LaunchSettings LaunchSettings { get; set; } = new();
WithReferenceTests.cs (2)
762public LaunchSettings LaunchSettings { get; } = new(); 768public LaunchSettings LaunchSettings { get; } = new();
WithUrlsTests.cs (2)
934public LaunchSettings LaunchSettings { get; } = new(); 941public LaunchSettings LaunchSettings { get; } = new()