10 types derived from ExecutableLaunchConfiguration
Aspire.Hosting (1)
ApplicationModel\ExecutableLaunchConfiguration.cs (1)
105
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)
10247
private sealed class TestMauiLaunchConfiguration :
ExecutableLaunchConfiguration
DebugSupportExtensionsTests.cs (1)
474
private 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)
290
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
4529
return Task.FromResult(new
ExecutableLaunchConfiguration
("test")
4577
builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode }, "test");
4632
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode }, "test")
4769
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
4809
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
4849
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
4893
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
5496
builder.AddResource(executable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5532
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5574
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5610
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5646
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5688
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5730
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
6005
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
6045
projectBuilder.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)
6609
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
6866
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
6908
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("maui") { Mode = mode }, "maui")
6968
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
6995
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7042
customProject.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7092
customProject.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7140
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7337
return new
ExecutableLaunchConfiguration
("test") { Mode = mode };
7954
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8009
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8054
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8113
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8190
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8279
return Task.FromResult(new
ExecutableLaunchConfiguration
("test") { Mode = mode });
8322
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8359
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
8469
return new
ExecutableLaunchConfiguration
("custom") { Mode = mode };
8553
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8614
return new
ExecutableLaunchConfiguration
("test") { Mode = mode };
9615
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
9707
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"))));
134
static _ => Task.FromResult(new
ExecutableLaunchConfiguration
("custom"))));
ExecutableResourceBuilderExtensionTests.cs (15)
94
var launchConfig = new
ExecutableLaunchConfiguration
("python");
117
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("python"), "ms-python.python");
128
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("go") { Mode = mode }, "go");
133
return 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)
4615
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1));
4616
var
config1 = Assert.Single(launchConfigs1);
4972
static
ExecutableLaunchConfiguration
ThrowingLaunchConfiguration(string mode)
7359
Assert.True(exe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
7360
var
launchConfig = Assert.Single(launchConfigs);
7372
builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource,
ExecutableLaunchConfiguration
>(
8254
static Task<
ExecutableLaunchConfiguration
> ThrowingLaunchConfiguration(string mode, CancellationToken cancellationToken)
8444
static
ExecutableLaunchConfiguration
ThrowingLaunchConfiguration(string mode)
9560
builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource,
ExecutableLaunchConfiguration
>(
9640
Assert.True(exe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
9641
var
config = Assert.Single(launchConfigs);
9657
projectBuilder.WithDebugSupport<ProjectResource,
ExecutableLaunchConfiguration
>(
ExecutableResourceBuilderExtensionTests.cs (9)
94
var
launchConfig = new ExecutableLaunchConfiguration("python");
100
var
producedLaunchConfig = Assert.IsType<
ExecutableLaunchConfiguration
>(
136
var
syncConfiguration = Assert.IsType<
ExecutableLaunchConfiguration
>(
140
var
asyncConfiguration = Assert.IsType<
ExecutableLaunchConfiguration
>(
162
Assert.Equal(CreateAsyncProducerGuardMessage(typeof(Task<
ExecutableLaunchConfiguration
>), "launchConfigurationProducer"), exception.Message);
175
Assert.Equal(CreateAsyncProducerGuardMessage(typeof(ValueTask<
ExecutableLaunchConfiguration
>), "launchConfigurationProducer"), exception.Message);