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)
13622
private sealed class TestMauiLaunchConfiguration :
ExecutableLaunchConfiguration
DebugSupportExtensionsTests.cs (1)
606
private sealed class TestGoLaunchConfiguration() :
ExecutableLaunchConfiguration
("go")
76 instantiations of ExecutableLaunchConfiguration
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectResourceTests.cs (6)
709
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
726
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
771
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
933
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
965
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
995
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("custom"), "custom");
Aspire.Hosting.Tests (70)
Dcp\DcpExecutorTests.cs (46)
792
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
6072
return Task.FromResult(new
ExecutableLaunchConfiguration
("test")
6120
builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode }, "test");
6175
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode }, "test")
6391
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
6431
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
6471
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
6515
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
7118
builder.AddResource(executable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7154
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7196
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7232
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7268
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7310
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7352
builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("test"), "test");
7627
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7669
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7720
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7823
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
7863
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("custom-debug") { Mode = mode }, "custom-debug");
7995
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
(launchConfigurationType) { Mode = mode }, launchConfigurationType)
8055
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
(launchConfigurationType) { Mode = mode }, launchConfigurationType)
8107
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
(launchConfigurationType) { Mode = mode }, launchConfigurationType)
8503
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
8760
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
8802
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("maui") { Mode = mode }, "maui")
8862
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
8889
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
8936
customProject.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
8986
customProject.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
9034
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
9330
return new
ExecutableLaunchConfiguration
("test") { Mode = mode };
9456
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
10026
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
10081
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
10126
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
10185
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
10262
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
10351
return Task.FromResult(new
ExecutableLaunchConfiguration
("test") { Mode = mode });
10394
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
10431
mode => new
ExecutableLaunchConfiguration
("custom") { Mode = mode },
10541
return new
ExecutableLaunchConfiguration
("custom") { Mode = mode };
10625
mode => new
ExecutableLaunchConfiguration
("test") { Mode = mode },
10686
return new
ExecutableLaunchConfiguration
("test") { Mode = mode };
12837
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
12929
projectBuilder.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode }, "azure-functions");
Dcp\ExecutableLaunchPlanTests.cs (4)
202
static _ => Task.FromResult(new
ExecutableLaunchConfiguration
("test"))));
249
static _ => Task.FromResult(new
ExecutableLaunchConfiguration
("test"))));
339
static _ => Task.FromResult(new
ExecutableLaunchConfiguration
("custom"))));
371
static _ => Task.FromResult(new
ExecutableLaunchConfiguration
("azure-functions"))));
Dcp\ResourceSnapshotBuilderTests.cs (2)
182
static _ => Task.FromResult<object>(new
ExecutableLaunchConfiguration
("azure-functions"))));
197
: new
ExecutableLaunchConfiguration
(dcpLaunchConfigurationType)
DebugSupportExtensionsTests.cs (3)
434
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
456
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
480
mode => new
ExecutableLaunchConfiguration
("azure-functions") { Mode = mode },
ExecutableResourceBuilderExtensionTests.cs (15)
108
var launchConfig = new
ExecutableLaunchConfiguration
("python");
131
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("python"), "ms-python.python");
142
.WithDebugSupport(mode => new
ExecutableLaunchConfiguration
("go") { Mode = mode }, "go");
147
return new
ExecutableLaunchConfiguration
("go") { Mode = mode };
173
() => executable.WithDebugSupport(mode => Task.FromResult(new
ExecutableLaunchConfiguration
("go") { Mode = mode }), "go"));
186
() => executable.WithDebugSupport(mode => ValueTask.FromResult(new
ExecutableLaunchConfiguration
("go") { Mode = mode }), "go"));
202
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("go"), "go");
254
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("go"), "go");
285
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("go"), "go")
317
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("go"), "go");
335
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("go"), "go")
336
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("project"), "project");
357
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("go"), "go");
373
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("go"), "go");
395
.WithDebugSupport(_ => new
ExecutableLaunchConfiguration
("go"), "go")
26 references to ExecutableLaunchConfiguration
Aspire.Hosting (5)
ApplicationModel\DebugSupportExtensions.cs (2)
223
/// <returns>The launch configuration, typically an <see cref="
ExecutableLaunchConfiguration
"/>.</returns>
266
/// <returns>The launch configuration, typically an <see cref="
ExecutableLaunchConfiguration
"/>.</returns>
ResourceBuilderExtensions.cs (3)
5335
/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="
ExecutableLaunchConfiguration
"/>.</typeparam>
5382
/// <typeparam name="TLaunchConfiguration">The launch configuration type produced for the resource, typically derived from <see cref="
ExecutableLaunchConfiguration
"/>.</typeparam>
5411
/// <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)
6158
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1));
6159
var
config1 = Assert.Single(launchConfigs1);
6594
static
ExecutableLaunchConfiguration
ThrowingLaunchConfiguration(string mode)
9352
Assert.True(exe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
9353
var
launchConfig = Assert.Single(launchConfigs);
9365
builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource,
ExecutableLaunchConfiguration
>(
10326
static Task<
ExecutableLaunchConfiguration
> ThrowingLaunchConfiguration(string mode, CancellationToken cancellationToken)
10516
static
ExecutableLaunchConfiguration
ThrowingLaunchConfiguration(string mode)
12782
builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource,
ExecutableLaunchConfiguration
>(
12862
Assert.True(exe.TryGetAnnotationAsObjectList<
ExecutableLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
12863
var
config = Assert.Single(launchConfigs);
12879
projectBuilder.WithDebugSupport<ProjectResource,
ExecutableLaunchConfiguration
>(
ExecutableResourceBuilderExtensionTests.cs (9)
108
var
launchConfig = new ExecutableLaunchConfiguration("python");
114
var
producedLaunchConfig = Assert.IsType<
ExecutableLaunchConfiguration
>(
150
var
syncConfiguration = Assert.IsType<
ExecutableLaunchConfiguration
>(
154
var
asyncConfiguration = Assert.IsType<
ExecutableLaunchConfiguration
>(
176
Assert.Equal(CreateAsyncProducerGuardMessage(typeof(Task<
ExecutableLaunchConfiguration
>), "launchConfigurationProducer"), exception.Message);
189
Assert.Equal(CreateAsyncProducerGuardMessage(typeof(ValueTask<
ExecutableLaunchConfiguration
>), "launchConfigurationProducer"), exception.Message);