4 writes to MonitorTimestamp
Aspire.Hosting (2)
Dcp\ExecutableCreator.cs (2)
276
spec.
MonitorTimestamp
= null;
287
spec.
MonitorTimestamp
= parentProcessTimestamp;
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");
7 references to MonitorTimestamp
Aspire.Hosting (1)
Dcp\Model\Executable.cs (1)
72
/// When set, <see cref="
MonitorTimestamp
"/> must also be set and <see cref="Persistent"/> must be true.
Aspire.Hosting.Tests (6)
Dcp\DcpExecutorTests.cs (4)
5131
Assert.Null(exe.Spec.
MonitorTimestamp
);
5285
Assert.NotNull(exe.Spec.
MonitorTimestamp
);
5286
Assert.Equal(parentProcessIdentity.Timestamp, exe.Spec.
MonitorTimestamp
.Value, TimeSpan.FromMicroseconds(1));
10052
Assert.Equal(expectedTimestamp, executableSpec.
MonitorTimestamp
);
DistributedApplicationTests.cs (2)
2066
Assert.NotNull(dcpExecutable.Spec.
MonitorTimestamp
);
2067
Assert.InRange((dcpExecutable.Spec.
MonitorTimestamp
.Value - parentProcessIdentity.Timestamp).Duration(), TimeSpan.Zero, TimeSpan.FromMilliseconds(1));