103 references to ExecutionType
Aspire.Hosting (5)
Dcp\ExecutableCreator.cs (2)
250ExecutableLaunchMechanism.Process => ExecutionType.Process, 251ExecutableLaunchMechanism.Ide => ExecutionType.IDE,
Dcp\ResourceLogSource.cs (1)
58&& executable.Spec.ExecutionType is null or "" or ExecutionType.Process
Dcp\ResourceSnapshotBuilder.cs (2)
261if (resource.Spec.ExecutionType == ExecutionType.Process && 297if (resource.Spec.ExecutionType == ExecutionType.IDE &&
Aspire.Hosting.Blazor.Tests (1)
AddBlazorGatewayTests.cs (1)
568Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Aspire.Hosting.Tests (97)
Dcp\DcpExecutorTests.cs (87)
572[InlineData(ExecutionType.IDE, false, null, new string[] { "--test1", "--test2" })] 573[InlineData(ExecutionType.IDE, true, new string[] { "--withargs-test" }, new string[] { "--withargs-test" })] 574[InlineData(ExecutionType.Process, false, new string[] { "--test1", "--test2" }, new string[] { "--test1", "--test2" })] 575[InlineData(ExecutionType.Process, true, new string[] { "--", "--test1", "--test2", "--withargs-test" }, new string[] { "--", "--test1", "--test2", "--withargs-test" })] 584if (executionType == ExecutionType.IDE) 620var callArgs = executionType == ExecutionType.IDE ? exe.Spec.Args : exe.Spec.Args![^(expectedArgs?.Length ?? 0)..]; 706Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 746Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6021Assert.Equal(ExecutionType.IDE, debuggableExe.Spec.ExecutionType); 6029Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 6064Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6093Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6130Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6161Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6233Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6276Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6316Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6360Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6404Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6490Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 6536Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 6691Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7008Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7045Assert.Equal(ExecutionType.Process, debuggableExe.Spec.ExecutionType); 7049Assert.Equal(ExecutionType.Process, nonDebuggableExe.Spec.ExecutionType); 7086Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7122Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7164Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7206Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7248Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7281Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7321Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7361Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7394Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7433Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7474Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7509Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7557Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7616Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7668Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7713Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7784Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 7888Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 8032Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 8115Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8205Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8320Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8373Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8438Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8465Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8507Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8546Assert.Equal(ExecutionType.IDE, standardExe.Spec.ExecutionType); 8549Assert.Equal(ExecutionType.IDE, customExe.Spec.ExecutionType); 8605Assert.Equal(ExecutionType.Process, standardExe.Spec.ExecutionType); 8609Assert.Equal(ExecutionType.IDE, functionsExe.Spec.ExecutionType); 8644Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8725Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8765Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8816Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8862Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8903Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 8984Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9024Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9061Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9096Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9132Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9184Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9220Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9255Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9295Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9329Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9393Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9426Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9519Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9574Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9625Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9678Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9711Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9755Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9850Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9886Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 9923Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 10179Assert.Equal(ExecutionType.IDE, exe1.Spec.ExecutionType); 10190Assert.Equal(ExecutionType.IDE, exe1.Spec.ExecutionType); 10198Assert.Equal(ExecutionType.IDE, exe2.Spec.ExecutionType); 11693Assert.Equal(ExecutionType.IDE, exe.Spec.ExecutionType); 11785Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
Dcp\ExecutableLaunchPlanTests.cs (3)
207executable.Spec.ExecutionType = ExecutionType.IDE; 208executable.Spec.FallbackExecutionTypes = [ExecutionType.Process]; 231Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Dcp\ResourceLogSourceTests.cs (2)
19[InlineData(ExecutionType.Process, true)] 20[InlineData(ExecutionType.IDE, false)]
Dcp\ResourceSnapshotBuilderTests.cs (4)
128executable.Spec.ExecutionType = ExecutionType.IDE; 180executable.Spec.ExecutionType = ExecutionType.IDE; 234executable.Spec.ExecutionType = ExecutionType.Process; 286executable.Spec.ExecutionType = ExecutionType.Process;
DistributedApplicationTests.cs (1)
2158Assert.Equal(ExecutionType.Process, dcpExecutable.Spec.ExecutionType);