10 types derived from ExecutableLaunchConfiguration
Aspire.Hosting (1)
ApplicationModel\ExecutableLaunchConfiguration.cs (1)
119
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)
10438
private sealed class TestMauiLaunchConfiguration :
ExecutableLaunchConfiguration
DebugSupportExtensionsTests.cs (1)
478
private sealed class TestGoLaunchConfiguration() :
ExecutableLaunchConfiguration
("go")
66 instantiations of ExecutableLaunchConfiguration
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectResourceTests.cs (6)
639
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
656
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
701
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
809
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
841
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
871
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
Aspire.Hosting.Tests (60)
Dcp\DcpExecutorTests.cs (42)
291
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
4719
return Task.FromResult(new
ExecutableLaunchConfiguration
("test")
4767
builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode }, "test");
4822
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode }, "test")
4959
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
4999
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
5039
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
5083
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
5686
builder.AddResource(executable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5722
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5764
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5800
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5836
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5878
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
5920
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
6195
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
6235
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
6291
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
(launchConfigurationType) { Mode = mode }, launchConfigurationType)
6351
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
(launchConfigurationType) { Mode = mode }, launchConfigurationType)
6403
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
(launchConfigurationType) { Mode = mode }, launchConfigurationType)
6799
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
7056
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
7098
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("maui") { Mode = mode }, "maui")
7158
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7185
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7232
customProject.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7282
customProject.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7330
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7527
return new
ExecutableLaunchConfiguration
("test") { Mode = mode };
8144
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8199
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8244
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8303
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8380
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8469
return Task.FromResult(new
ExecutableLaunchConfiguration
("test") { Mode = mode });
8512
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8549
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
8659
return new
ExecutableLaunchConfiguration
("custom") { Mode = mode };
8743
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
8804
return new
ExecutableLaunchConfiguration
("test") { Mode = mode };
9805
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
9897
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)
103
/// <returns>The launch configuration, typically an <see cref="
ExecutableLaunchConfiguration
"/>.</returns>
146
/// <returns>The launch configuration, typically an <see cref="
ExecutableLaunchConfiguration
"/>.</returns>
ResourceBuilderExtensions.cs (3)
4880
/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="
ExecutableLaunchConfiguration
"/>.</typeparam>
4927
/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="
ExecutableLaunchConfiguration
"/>.</typeparam>
4956
/// <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)
4805
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1));
4806
var
config1 = Assert.Single(launchConfigs1);
5162
static
ExecutableLaunchConfiguration
ThrowingLaunchConfiguration(string mode)
7549
Assert.True(exe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
7550
var
launchConfig = Assert.Single(launchConfigs);
7562
builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource,
ExecutableLaunchConfiguration
>(
8444
static Task<
ExecutableLaunchConfiguration
> ThrowingLaunchConfiguration(string mode, CancellationToken cancellationToken)
8634
static
ExecutableLaunchConfiguration
ThrowingLaunchConfiguration(string mode)
9750
builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource,
ExecutableLaunchConfiguration
>(
9830
Assert.True(exe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
9831
var
config = Assert.Single(launchConfigs);
9847
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);