11 writes to Mode
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1482
projectLaunchConfiguration.
Mode
= _configuration[KnownConfigNames.DebugSessionRunMode]
ProjectResourceBuilderExtensions.cs (3)
256
.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath,
Mode
= mode }, "project")
302
.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectPath,
Mode
= mode }, "project")
385
.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath,
Mode
= mode }, "project")
Aspire.Hosting.JavaScript (3)
JavaScriptHostingExtensions.cs (3)
967
Mode
= mode,
997
Mode
= mode,
1072
Mode
= mode,
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
975
Mode
= mode,
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (3)
1692
builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") {
Mode
= mode }, "test");
2403
projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") {
Mode
= mode }, "azure-functions");
2507
projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") {
Mode
= mode }, "azure-functions");
5 references to Mode
Aspire.Hosting.Tests (5)
Dcp\DcpExecutorTests.cs (3)
1454
Assert.Equal(expectedMode, plc!.
Mode
);
1731
Assert.Equal(ExecutableLaunchMode.Debug, config1.
Mode
);
2440
Assert.Equal(ExecutableLaunchMode.Debug, config.
Mode
);
ExecutableResourceBuilderExtensionTests.cs (2)
90
Assert.Equal(launchConfig.
Mode
, annotations.Single().
Mode
);