4 writes to MonitorTimestamp
Aspire.Hosting (2)
Dcp\ExecutableCreator.cs (2)
368spec.MonitorTimestamp = null; 379spec.MonitorTimestamp = parentProcessTimestamp;
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (2)
12009AssertMonitorTimestamp(new ExecutableSpec { MonitorPid = 1234, MonitorTimestamp = wholeSecondTimestamp }, "0001-01-01T00:06:30.000000Z"); 12010AssertMonitorTimestamp(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)
6535Assert.Null(exe.Spec.MonitorTimestamp); 6689Assert.NotNull(exe.Spec.MonitorTimestamp); 6690Assert.Equal(parentProcessIdentity.Timestamp, exe.Spec.MonitorTimestamp.Value, TimeSpan.FromMicroseconds(1)); 12036Assert.Equal(expectedTimestamp, executableSpec.MonitorTimestamp);
DistributedApplicationTests.cs (2)
2155Assert.NotNull(dcpExecutable.Spec.MonitorTimestamp); 2156Assert.InRange((dcpExecutable.Spec.MonitorTimestamp.Value - parentProcessIdentity.Timestamp).Duration(), TimeSpan.Zero, TimeSpan.FromMilliseconds(1));