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