4 writes to MonitorPid
Aspire.Hosting (2)
Dcp\ExecutableCreator.cs (2)
360spec.MonitorPid = null; 371spec.MonitorPid = parentProcessId;
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (2)
11294AssertMonitorTimestamp(new ExecutableSpec { MonitorPid = 1234, MonitorTimestamp = wholeSecondTimestamp }, "0001-01-01T00:06:30.000000Z"); 11295AssertMonitorTimestamp(new ExecutableSpec { MonitorPid = 1234, MonitorTimestamp = fractionalSecondTimestamp }, "0001-01-01T00:06:30.123000Z");
4 references to MonitorPid
Aspire.Hosting (1)
Dcp\Model\Executable.cs (1)
78/// Optional parent process identity timestamp used with <see cref="MonitorPid"/> to guard against PID reuse.
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (2)
5850Assert.Null(exe.Spec.MonitorPid); 6004Assert.Equal(parentProcessIdentity.ProcessId, exe.Spec.MonitorPid);
DistributedApplicationTests.cs (1)
2076Assert.Equal(parentProcessIdentity.ProcessId, dcpExecutable.Spec.MonitorPid);