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)
12374private sealed class TestMauiLaunchConfiguration : ExecutableLaunchConfiguration
DebugSupportExtensionsTests.cs (1)
532private sealed class TestGoLaunchConfiguration() : ExecutableLaunchConfiguration("go")
66 instantiations of ExecutableLaunchConfiguration
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectResourceTests.cs (6)
710.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 727.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 772.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 934.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 966.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 996.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom");
Aspire.Hosting.Tests (60)
Dcp\DcpExecutorTests.cs (42)
686mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 5937return Task.FromResult(new ExecutableLaunchConfiguration("test") 5985builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 6040.WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test") 6256mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 6296mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 6336mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 6380mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 6983builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7019builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7061builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7097builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7133builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7175builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7217builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7492projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7532projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7588.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 7648.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 7700.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 8096mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 8353mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 8395.WithDebugSupport(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui") 8455projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8482projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8529customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8579customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8627.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8882return new ExecutableLaunchConfiguration("test") { Mode = mode }; 9499mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9554mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9599mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9658mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9735mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9824return Task.FromResult(new ExecutableLaunchConfiguration("test") { Mode = mode }); 9867mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 9904mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 10014return new ExecutableLaunchConfiguration("custom") { Mode = mode }; 10098mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 10159return new ExecutableLaunchConfiguration("test") { Mode = mode }; 11671projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 11763projectBuilder.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)
107/// <returns>The launch configuration, typically an <see cref="ExecutableLaunchConfiguration"/>.</returns> 150/// <returns>The launch configuration, typically an <see cref="ExecutableLaunchConfiguration"/>.</returns>
ResourceBuilderExtensions.cs (3)
5341/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam> 5388/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam> 5417/// <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)
6023Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1)); 6024var config1 = Assert.Single(launchConfigs1); 6459static ExecutableLaunchConfiguration ThrowingLaunchConfiguration(string mode) 8904Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs)); 8905var launchConfig = Assert.Single(launchConfigs); 8917builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>( 9799static Task<ExecutableLaunchConfiguration> ThrowingLaunchConfiguration(string mode, CancellationToken cancellationToken) 9989static ExecutableLaunchConfiguration ThrowingLaunchConfiguration(string mode) 11616builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>( 11696Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs)); 11697var config = Assert.Single(launchConfigs); 11713projectBuilder.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);