4 writes to MonitorPid
Aspire.Hosting (2)
Dcp\ExecutableCreator.cs (2)
360
spec.
MonitorPid
= null;
371
spec.
MonitorPid
= parentProcessId;
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (2)
11294
AssertMonitorTimestamp(new ExecutableSpec {
MonitorPid
= 1234, MonitorTimestamp = wholeSecondTimestamp }, "0001-01-01T00:06:30.000000Z");
11295
AssertMonitorTimestamp(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)
5850
Assert.Null(exe.Spec.
MonitorPid
);
6004
Assert.Equal(parentProcessIdentity.ProcessId, exe.Spec.
MonitorPid
);
DistributedApplicationTests.cs (1)
2076
Assert.Equal(parentProcessIdentity.ProcessId, dcpExecutable.Spec.
MonitorPid
);