28 references to ExecutionType
Aspire.Hosting (9)
Dcp\DcpExecutor.cs (9)
1303exe.Spec.ExecutionType = ExecutionType.IDE; 1304exe.Spec.FallbackExecutionTypes = [ ExecutionType.Process ]; 1309exe.Spec.ExecutionType = ExecutionType.Process; 1358exe.Spec.ExecutionType = ExecutionType.IDE; 1359exe.Spec.FallbackExecutionTypes = [ ExecutionType.Process ]; 1370exe.Spec.ExecutionType = ExecutionType.Process; 1742if (spec.ExecutionType == ExecutionType.Process || (spec.ExecutionType == ExecutionType.IDE && !appHostArgs.Any())) 1746var annotationOnly = spec.ExecutionType == ExecutionType.IDE;
Aspire.Hosting.Tests (19)
Dcp\DcpExecutorTests.cs (19)
113[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })] 114[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })] 115[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })] 116[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })] 125if (executionType == ExecutionType.IDE) 161var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..]; 1658Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType); 1665Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 1702Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 1739Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType); 1743Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 1780Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 1816Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 1858Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 1900Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 1942Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 1979Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 2016Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 2059Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType);