10 types derived from ExecutableLaunchConfiguration
Aspire.Hosting (1)
ApplicationModel\ExecutableLaunchConfiguration.cs (1)
105public 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)
10247private sealed class TestMauiLaunchConfiguration : ExecutableLaunchConfiguration
DebugSupportExtensionsTests.cs (1)
474private sealed class TestGoLaunchConfiguration() : ExecutableLaunchConfiguration("go")
66 instantiations of ExecutableLaunchConfiguration
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectResourceTests.cs (6)
600.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 617.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 662.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 748.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 780.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 810.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom");
Aspire.Hosting.Tests (60)
Dcp\DcpExecutorTests.cs (42)
290mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 4529return Task.FromResult(new ExecutableLaunchConfiguration("test") 4577builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 4632.WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test") 4769mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 4809mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 4849mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 4893mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, 5496builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5532builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5574builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5610builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5646builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5688builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5730builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6005projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6045projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6101.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 6161.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 6213.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 6609mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 6866mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 6908.WithDebugSupport(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui") 6968projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6995projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7042customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7092customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7140.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7337return new ExecutableLaunchConfiguration("test") { Mode = mode }; 7954mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8009mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8054mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8113mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8190mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8279return Task.FromResult(new ExecutableLaunchConfiguration("test") { Mode = mode }); 8322mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8359mode => new ExecutableLaunchConfiguration("custom") { Mode = mode }, 8469return new ExecutableLaunchConfiguration("custom") { Mode = mode }; 8553mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, 8614return new ExecutableLaunchConfiguration("test") { Mode = mode }; 9615projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 9707projectBuilder.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")))); 134static _ => Task.FromResult(new ExecutableLaunchConfiguration("custom"))));
ExecutableResourceBuilderExtensionTests.cs (15)
94var launchConfig = new ExecutableLaunchConfiguration("python"); 117.WithDebugSupport(_ => new ExecutableLaunchConfiguration("python"), "ms-python.python"); 128.WithDebugSupport(mode => new ExecutableLaunchConfiguration("go") { Mode = mode }, "go"); 133return new ExecutableLaunchConfiguration("go") { Mode = mode }; 159() => executable.WithDebugSupport(mode => Task.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 172() => executable.WithDebugSupport(mode => ValueTask.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 188.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 240.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 271.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 303.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 321.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 322.WithDebugSupport(_ => new ExecutableLaunchConfiguration("project"), "project"); 343.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 359.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 381.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)
4839/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam> 4886/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="ExecutableLaunchConfiguration"/>.</typeparam> 4915/// <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)
4615Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1)); 4616var config1 = Assert.Single(launchConfigs1); 4972static ExecutableLaunchConfiguration ThrowingLaunchConfiguration(string mode) 7359Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs)); 7360var launchConfig = Assert.Single(launchConfigs); 7372builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>( 8254static Task<ExecutableLaunchConfiguration> ThrowingLaunchConfiguration(string mode, CancellationToken cancellationToken) 8444static ExecutableLaunchConfiguration ThrowingLaunchConfiguration(string mode) 9560builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>( 9640Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs)); 9641var config = Assert.Single(launchConfigs); 9657projectBuilder.WithDebugSupport<ProjectResource, ExecutableLaunchConfiguration>(
ExecutableResourceBuilderExtensionTests.cs (9)
94var launchConfig = new ExecutableLaunchConfiguration("python"); 100var producedLaunchConfig = Assert.IsType<ExecutableLaunchConfiguration>( 136var syncConfiguration = Assert.IsType<ExecutableLaunchConfiguration>( 140var asyncConfiguration = Assert.IsType<ExecutableLaunchConfiguration>( 162Assert.Equal(CreateAsyncProducerGuardMessage(typeof(Task<ExecutableLaunchConfiguration>), "launchConfigurationProducer"), exception.Message); 175Assert.Equal(CreateAsyncProducerGuardMessage(typeof(ValueTask<ExecutableLaunchConfiguration>), "launchConfigurationProducer"), exception.Message);