52 references to Process
Aspire.Hosting (3)
Dcp\ExecutableCreator.cs (1)
250ExecutableLaunchMechanism.Process => ExecutionType.Process,
Dcp\ResourceLogSource.cs (1)
58&& executable.Spec.ExecutionType is null or "" or ExecutionType.Process
Dcp\ResourceSnapshotBuilder.cs (1)
261if (resource.Spec.ExecutionType == ExecutionType.Process &&
Aspire.Hosting.Blazor.Tests (1)
AddBlazorGatewayTests.cs (1)
568Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Aspire.Hosting.Tests (48)
Dcp\DcpExecutorTests.cs (42)
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" })] 746Assert.Equal(ExecutionType.Process, exe.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); 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); 7321Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7361Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 7474Assert.Equal(ExecutionType.Process, 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); 7888Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 8032Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType); 8438Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8465Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 8605Assert.Equal(ExecutionType.Process, standardExe.Spec.ExecutionType); 8765Assert.Equal(ExecutionType.Process, 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); 9393Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9426Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 9711Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType); 11785Assert.Equal(ExecutionType.Process, exe.Spec.ExecutionType);
Dcp\ExecutableLaunchPlanTests.cs (2)
208executable.Spec.FallbackExecutionTypes = [ExecutionType.Process]; 231Assert.Equal(ExecutionType.Process, executable.Spec.ExecutionType);
Dcp\ResourceLogSourceTests.cs (1)
19[InlineData(ExecutionType.Process, true)]
Dcp\ResourceSnapshotBuilderTests.cs (2)
234executable.Spec.ExecutionType = ExecutionType.Process; 286executable.Spec.ExecutionType = ExecutionType.Process;
DistributedApplicationTests.cs (1)
2158Assert.Equal(ExecutionType.Process, dcpExecutable.Spec.ExecutionType);