11 writes to Mode
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1482projectLaunchConfiguration.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)
967Mode = mode, 997Mode = mode, 1072Mode = mode,
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
975Mode = mode,
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (3)
1692builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 2403projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 2507projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
5 references to Mode
Aspire.Hosting.Tests (5)
Dcp\DcpExecutorTests.cs (3)
1454Assert.Equal(expectedMode, plc!.Mode); 1731Assert.Equal(ExecutableLaunchMode.Debug, config1.Mode); 2440Assert.Equal(ExecutableLaunchMode.Debug, config.Mode);
ExecutableResourceBuilderExtensionTests.cs (2)
90Assert.Equal(launchConfig.Mode, annotations.Single().Mode);