10 types derived from ExecutableLaunchConfiguration
Aspire.Hosting (1)
ApplicationModel\ExecutableLaunchConfiguration.cs (1)
121public sealed class ProjectLaunchConfiguration() : ExecutableLaunchConfiguration(KnownLaunchConfigurationTypes.Project)
Aspire.Hosting.Blazor (1)
src\Shared\BrowserLaunchConfiguration.cs (1)
11internal sealed class BrowserLaunchConfiguration() : ExecutableLaunchConfiguration("browser")
Aspire.Hosting.Go (1)
GoLaunchConfiguration.cs (1)
11internal sealed class GoLaunchConfiguration() : ExecutableLaunchConfiguration("go")
Aspire.Hosting.Java (1)
JavaLaunchConfiguration.cs (1)
29internal sealed class JavaLaunchConfiguration() : ExecutableLaunchConfiguration("java")
Aspire.Hosting.JavaScript (2)
JavaScriptLaunchConfiguration.cs (1)
11internal sealed class JavaScriptLaunchConfiguration(string type) : ExecutableLaunchConfiguration(type)
src\Shared\BrowserLaunchConfiguration.cs (1)
11internal sealed class BrowserLaunchConfiguration() : ExecutableLaunchConfiguration("browser")
Aspire.Hosting.Python (1)
PythonAppLaunchConfiguration.cs (1)
11internal sealed class PythonLaunchConfiguration() : ExecutableLaunchConfiguration("python")
Aspire.Hosting.Rust (1)
RustLaunchConfiguration.cs (1)
11internal sealed class RustLaunchConfiguration() : ExecutableLaunchConfiguration("rust")
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (1)
13622private sealed class TestMauiLaunchConfiguration : ExecutableLaunchConfiguration
DebugSupportExtensionsTests.cs (1)
606private sealed class TestGoLaunchConfiguration() : ExecutableLaunchConfiguration("go")
76 instantiations of ExecutableLaunchConfiguration
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectResourceTests.cs (6)
709.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 726.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 771.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 933.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 965.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 995.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom");
Aspire.Hosting.Tests (70)
Dcp\DcpExecutorTests.cs (46)
792mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 6072return Task.FromResult(new ExecutableLaunchConfiguration("test") 6120builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 6175.WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test") 6391mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 6431mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 6471mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 6515mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 7118builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7154builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7196builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7232builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7268builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7310builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7352builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7627projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7669.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7720projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7823projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7863projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("custom-debug") { Mode = mode }, "custom-debug"); 7995.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 8055.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 8107.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 8503mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 8760mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 8802.WithDebugSupport(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui") 8862projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8889projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8936customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8986customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 9034.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 9330return new ExecutableLaunchConfiguration("test") { Mode = mode }; 9456mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 10026mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 10081mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 10126mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 10185mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 10262mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 10351return Task.FromResult(new ExecutableLaunchConfiguration("test") { Mode = mode }); 10394mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 10431mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 10541return new ExecutableLaunchConfiguration("custom") { Mode = mode }; 10625mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 10686return new ExecutableLaunchConfiguration("test") { Mode = mode }; 12837projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 12929projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
Dcp\ExecutableLaunchPlanTests.cs (4)
202static _ => Task.FromResult(new ExecutableLaunchConfiguration("test")))); 249static _ => Task.FromResult(new ExecutableLaunchConfiguration("test")))); 339static _ => Task.FromResult(new ExecutableLaunchConfiguration("custom")))); 371static _ => Task.FromResult(new ExecutableLaunchConfiguration("azure-functions"))));
Dcp\ResourceSnapshotBuilderTests.cs (2)
182static _ => Task.FromResult<object>(new ExecutableLaunchConfiguration("azure-functions")))); 197: new ExecutableLaunchConfiguration(dcpLaunchConfigurationType)
DebugSupportExtensionsTests.cs (3)
434mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 456mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 480mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode },
ExecutableResourceBuilderExtensionTests.cs (15)
108var launchConfig = new ExecutableLaunchConfiguration("python"); 131.WithDebugSupport(_ => new ExecutableLaunchConfiguration("python"), "ms-python.python"); 142.WithDebugSupport(mode => new ExecutableLaunchConfiguration("go") { Mode = mode }, "go"); 147return new ExecutableLaunchConfiguration("go") { Mode = mode }; 173() => executable.WithDebugSupport(mode => Task.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 186() => executable.WithDebugSupport(mode => ValueTask.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 202.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 254.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 285.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 317.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 335.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 336.WithDebugSupport(_ => new ExecutableLaunchConfiguration("project"), "project"); 357.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 373.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 395.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go")
26 references to ExecutableLaunchConfiguration
Aspire.Hosting (5)
ApplicationModel\DebugSupportExtensions.cs (2)
223/// <returns>The launch configuration, typically an <see cref="ExecutableLaunchConfiguration"/>.</returns> 266/// <returns>The launch configuration, typically an <see cref="ExecutableLaunchConfiguration"/>.</returns>
ResourceBuilderExtensions.cs (3)
5335/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam> 5382/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam> 5411/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam>
Aspire.Hosting.Tests (21)
Dcp\DcpExecutorTests.cs (12)
6158Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1)); 6159var config1 = Assert.Single(launchConfigs1); 6594static ExecutableLaunchConfiguration ThrowingLaunchConfiguration(string mode) 9352Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs)); 9353var launchConfig = Assert.Single(launchConfigs); 9365builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>( 10326static Task<ExecutableLaunchConfiguration> ThrowingLaunchConfiguration(string mode, CancellationToken cancellationToken) 10516static ExecutableLaunchConfiguration ThrowingLaunchConfiguration(string mode) 12782builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>( 12862Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs)); 12863var config = Assert.Single(launchConfigs); 12879projectBuilder.WithDebugSupport<ProjectResource, ExecutableLaunchConfiguration>(
ExecutableResourceBuilderExtensionTests.cs (9)
108var launchConfig = new ExecutableLaunchConfiguration("python"); 114var producedLaunchConfig = Assert.IsType<ExecutableLaunchConfiguration>( 150var syncConfiguration = Assert.IsType<ExecutableLaunchConfiguration>( 154var asyncConfiguration = Assert.IsType<ExecutableLaunchConfiguration>( 176Assert.Equal(CreateAsyncProducerGuardMessage(typeof(Task<ExecutableLaunchConfiguration>), "launchConfigurationProducer"), exception.Message); 189Assert.Equal(CreateAsyncProducerGuardMessage(typeof(ValueTask<ExecutableLaunchConfiguration>), "launchConfigurationProducer"), exception.Message);