10 types derived from ExecutableLaunchConfiguration
Aspire.Hosting (1)
ApplicationModel\ExecutableLaunchConfiguration.cs (1)
119public 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)
11639private sealed class TestMauiLaunchConfiguration : ExecutableLaunchConfiguration
DebugSupportExtensionsTests.cs (1)
511private sealed class TestGoLaunchConfiguration() : ExecutableLaunchConfiguration("go")
66 instantiations of ExecutableLaunchConfiguration
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectResourceTests.cs (6)
703.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 720.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 765.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 927.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 959.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 989.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom");
Aspire.Hosting.Tests (60)
Dcp\DcpExecutorTests.cs (42)
644mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 5332return Task.FromResult(new ExecutableLaunchConfiguration("test") 5380builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 5435.WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test") 5572mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 5612mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 5652mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 5696mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 6299builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6335builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6377builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6413builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6449builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6491builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6533builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6808projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6848projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6904.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 6964.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 7016.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 7412mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 7669mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 7711.WithDebugSupport(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui") 7771projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7798projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7845customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7895customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7943.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8198return new ExecutableLaunchConfiguration("test") { Mode = mode }; 8815mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8870mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8915mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8974mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9051mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9140return Task.FromResult(new ExecutableLaunchConfiguration("test") { Mode = mode }); 9183mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9220mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 9330return new ExecutableLaunchConfiguration("custom") { Mode = mode }; 9414mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9475return new ExecutableLaunchConfiguration("test") { Mode = mode }; 10956projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 11048projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
Dcp\ExecutableLaunchPlanTests.cs (3)
28static _ => Task.FromResult(new ExecutableLaunchConfiguration("test")))); 75static _ => Task.FromResult(new ExecutableLaunchConfiguration("test")))); 165static _ => Task.FromResult(new ExecutableLaunchConfiguration("custom"))));
ExecutableResourceBuilderExtensionTests.cs (15)
109var launchConfig = new ExecutableLaunchConfiguration("python"); 132.WithDebugSupport(_ => new ExecutableLaunchConfiguration("python"), "ms-python.python"); 143.WithDebugSupport(mode => new ExecutableLaunchConfiguration("go") { Mode = mode }, "go"); 148return new ExecutableLaunchConfiguration("go") { Mode = mode }; 174() => executable.WithDebugSupport(mode => Task.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 187() => executable.WithDebugSupport(mode => ValueTask.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 203.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 255.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 286.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 318.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 336.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 337.WithDebugSupport(_ => new ExecutableLaunchConfiguration("project"), "project"); 358.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 374.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 396.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go")
26 references to ExecutableLaunchConfiguration
Aspire.Hosting (5)
ApplicationModel\DebugSupportExtensions.cs (2)
104/// <returns>The launch configuration, typically an <see cref="ExecutableLaunchConfiguration"/>.</returns> 147/// <returns>The launch configuration, typically an <see cref="ExecutableLaunchConfiguration"/>.</returns>
ResourceBuilderExtensions.cs (3)
5006/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam> 5053/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam> 5082/// <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)
5418Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1)); 5419var config1 = Assert.Single(launchConfigs1); 5775static ExecutableLaunchConfiguration ThrowingLaunchConfiguration(string mode) 8220Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs)); 8221var launchConfig = Assert.Single(launchConfigs); 8233builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>( 9115static Task<ExecutableLaunchConfiguration> ThrowingLaunchConfiguration(string mode, CancellationToken cancellationToken) 9305static ExecutableLaunchConfiguration ThrowingLaunchConfiguration(string mode) 10901builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>( 10981Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs)); 10982var config = Assert.Single(launchConfigs); 10998projectBuilder.WithDebugSupport<ProjectResource, ExecutableLaunchConfiguration>(
ExecutableResourceBuilderExtensionTests.cs (9)
109var launchConfig = new ExecutableLaunchConfiguration("python"); 115var producedLaunchConfig = Assert.IsType<ExecutableLaunchConfiguration>( 151var syncConfiguration = Assert.IsType<ExecutableLaunchConfiguration>( 155var asyncConfiguration = Assert.IsType<ExecutableLaunchConfiguration>( 177Assert.Equal(CreateAsyncProducerGuardMessage(typeof(Task<ExecutableLaunchConfiguration>), "launchConfigurationProducer"), exception.Message); 190Assert.Equal(CreateAsyncProducerGuardMessage(typeof(ValueTask<ExecutableLaunchConfiguration>), "launchConfigurationProducer"), exception.Message);