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)
29ObjectCreator = () => new global::Aspire.Hosting.LaunchSettings(),
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
1728public LaunchSettings LaunchSettings => new()
AzureDeployerTests.cs (1)
1057public 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)
208public LaunchSettings LaunchSettings { get; } = new();
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
692public 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)
644public LaunchSettings LaunchSettings { get; } = new();
Dcp\DcpExecutorTests.cs (4)
2086public LaunchSettings LaunchSettings { get; } = new(); 2096var settings = new LaunchSettings(); 2124public LaunchSettings LaunchSettings { get; } = new(); 2134var settings = new LaunchSettings();
ExternalServiceTests.cs (1)
456public LaunchSettings LaunchSettings { get; } = new();
Orchestrator\ApplicationOrchestratorTests.cs (2)
516public LaunchSettings LaunchSettings { get; } = new(); 522public LaunchSettings LaunchSettings { get; } = new();
ProjectResourceTests.cs (1)
897public LaunchSettings? LaunchSettings => new LaunchSettings { Profiles = Profiles! };
PublishAsDockerfileTests.cs (1)
467public LaunchSettings? LaunchSettings => new()
WithEndpointTests.cs (3)
671public LaunchSettings? LaunchSettings { get; } = new(); 677public LaunchSettings LaunchSettings { get; } = new(); 683public LaunchSettings LaunchSettings { get; } = new();
WithEnvironmentTests.cs (2)
509public LaunchSettings LaunchSettings { get; } = new(); 515public LaunchSettings LaunchSettings { get; } = new();
WithIconNameTests.cs (1)
108public LaunchSettings LaunchSettings { get; set; } = new();
WithReferenceTests.cs (2)
697public LaunchSettings LaunchSettings { get; } = new(); 703public LaunchSettings LaunchSettings { get; } = new();
WithUrlsTests.cs (2)
909public LaunchSettings LaunchSettings { get; } = new(); 916public LaunchSettings LaunchSettings { get; } = new()
103 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)
1728public LaunchSettings LaunchSettings => new()
AzureDeployerTests.cs (1)
1057public 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)
208public LaunchSettings LaunchSettings { get; } = new();
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
685public LaunchSettings? LaunchSettings { get; set; } 692public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
360public LaunchSettings? LaunchSettings { get; set; }
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 (26)
Dashboard\DashboardResourceTests.cs (1)
644public LaunchSettings LaunchSettings { get; } = new();
Dcp\DcpExecutorTests.cs (8)
2086public LaunchSettings LaunchSettings { get; } = new(); 2092public LaunchSettings LaunchSettings { get; } = CreateLaunchSettings(); 2094private static LaunchSettings CreateLaunchSettings() 2096var settings = new LaunchSettings(); 2124public LaunchSettings LaunchSettings { get; } = new(); 2130public LaunchSettings LaunchSettings { get; } = CreateLaunchSettings(); 2132private static LaunchSettings CreateLaunchSettings() 2134var settings = new LaunchSettings();
ExternalServiceTests.cs (1)
456public LaunchSettings LaunchSettings { get; } = new();
Orchestrator\ApplicationOrchestratorTests.cs (2)
516public LaunchSettings LaunchSettings { get; } = new(); 522public LaunchSettings LaunchSettings { get; } = new();
ProjectResourceTests.cs (2)
888public LaunchSettings? LaunchSettings { get; set; } 897public LaunchSettings? LaunchSettings => new LaunchSettings { Profiles = Profiles! };
PublishAsDockerfileTests.cs (2)
461public LaunchSettings? LaunchSettings { get; set; } 467public LaunchSettings? LaunchSettings => new()
WithEndpointTests.cs (3)
671public LaunchSettings? LaunchSettings { get; } = new(); 677public LaunchSettings LaunchSettings { get; } = new(); 683public LaunchSettings LaunchSettings { get; } = new();
WithEnvironmentTests.cs (2)
509public LaunchSettings LaunchSettings { get; } = new(); 515public LaunchSettings LaunchSettings { get; } = new();
WithIconNameTests.cs (1)
108public LaunchSettings LaunchSettings { get; set; } = new();
WithReferenceTests.cs (2)
697public LaunchSettings LaunchSettings { get; } = new(); 703public LaunchSettings LaunchSettings { get; } = new();
WithUrlsTests.cs (2)
909public LaunchSettings LaunchSettings { get; } = new(); 916public LaunchSettings LaunchSettings { get; } = new()