10 types derived from ExecutableLaunchConfiguration
Aspire.Hosting (1)
ApplicationModel\ExecutableLaunchConfiguration.cs (1)
121
public sealed class ProjectLaunchConfiguration() :
ExecutableLaunchConfiguration
(KnownLaunchConfigurationTypes.Project)
Aspire.Hosting.Blazor (1)
src\Shared\BrowserLaunchConfiguration.cs (1)
11
internal sealed class BrowserLaunchConfiguration() :
ExecutableLaunchConfiguration
("browser")
Aspire.Hosting.Go (1)
GoLaunchConfiguration.cs (1)
11
internal sealed class GoLaunchConfiguration() :
ExecutableLaunchConfiguration
("go")
Aspire.Hosting.Java (1)
JavaLaunchConfiguration.cs (1)
29
internal sealed class JavaLaunchConfiguration() :
ExecutableLaunchConfiguration
("java")
Aspire.Hosting.JavaScript (2)
JavaScriptLaunchConfiguration.cs (1)
11
internal sealed class JavaScriptLaunchConfiguration(string type) :
ExecutableLaunchConfiguration
(type)
src\Shared\BrowserLaunchConfiguration.cs (1)
11
internal sealed class BrowserLaunchConfiguration() :
ExecutableLaunchConfiguration
("browser")
Aspire.Hosting.Python (1)
PythonAppLaunchConfiguration.cs (1)
11
internal sealed class PythonLaunchConfiguration() :
ExecutableLaunchConfiguration
("python")
Aspire.Hosting.Rust (1)
RustLaunchConfiguration.cs (1)
11
internal sealed class RustLaunchConfiguration() :
ExecutableLaunchConfiguration
("rust")
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (1)
12374
private sealed class TestMauiLaunchConfiguration :
ExecutableLaunchConfiguration
DebugSupportExtensionsTests.cs (1)
532
private 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)
686
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
5937
return Task.FromResult(new
ExecutableLaunchConfiguration
("test")
5985
builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode }, "test");
6040
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode }, "test")
6256
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
6296
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
6336
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
6380
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
6983
builder.AddResource(executable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7019
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7061
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7097
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7133
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7175
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7217
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7492
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7532
projectBuilder.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)
8096
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
8353
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
8395
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("maui") { Mode = mode }, "maui")
8455
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
8482
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
8529
customProject.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
8579
customProject.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
8627
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
8882
return new
ExecutableLaunchConfiguration
("test") { Mode = mode };
9499
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
9554
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
9599
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
9658
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
9735
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
9824
return Task.FromResult(new
ExecutableLaunchConfiguration
("test") { Mode = mode });
9867
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
9904
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
10014
return new
ExecutableLaunchConfiguration
("custom") { Mode = mode };
10098
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
10159
return new
ExecutableLaunchConfiguration
("test") { Mode = mode };
11671
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
11763
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
Dcp\ExecutableLaunchPlanTests.cs (3)
28
static _ => Task.FromResult(new
ExecutableLaunchConfiguration
("test"))));
75
static _ => Task.FromResult(new
ExecutableLaunchConfiguration
("test"))));
165
static _ => Task.FromResult(new
ExecutableLaunchConfiguration
("custom"))));
ExecutableResourceBuilderExtensionTests.cs (15)
109
var launchConfig = new
ExecutableLaunchConfiguration
("python");
132
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("python"), "ms-python.python");
143
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("go") { Mode = mode }, "go");
148
return 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)
6023
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1));
6024
var
config1 = Assert.Single(launchConfigs1);
6459
static
ExecutableLaunchConfiguration
ThrowingLaunchConfiguration(string mode)
8904
Assert.True(exe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
8905
var
launchConfig = Assert.Single(launchConfigs);
8917
builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource,
ExecutableLaunchConfiguration
>(
9799
static Task<
ExecutableLaunchConfiguration
> ThrowingLaunchConfiguration(string mode, CancellationToken cancellationToken)
9989
static
ExecutableLaunchConfiguration
ThrowingLaunchConfiguration(string mode)
11616
builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource,
ExecutableLaunchConfiguration
>(
11696
Assert.True(exe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
11697
var
config = Assert.Single(launchConfigs);
11713
projectBuilder.WithDebugSupport<ProjectResource,
ExecutableLaunchConfiguration
>(
ExecutableResourceBuilderExtensionTests.cs (9)
109
var
launchConfig = new ExecutableLaunchConfiguration("python");
115
var
producedLaunchConfig = Assert.IsType<
ExecutableLaunchConfiguration
>(
151
var
syncConfiguration = Assert.IsType<
ExecutableLaunchConfiguration
>(
155
var
asyncConfiguration = Assert.IsType<
ExecutableLaunchConfiguration
>(
177
Assert.Equal(CreateAsyncProducerGuardMessage(typeof(Task<
ExecutableLaunchConfiguration
>), "launchConfigurationProducer"), exception.Message);
190
Assert.Equal(CreateAsyncProducerGuardMessage(typeof(ValueTask<
ExecutableLaunchConfiguration
>), "launchConfigurationProducer"), exception.Message);