4 writes to MonitorTimestamp
Aspire.Hosting (2)
Dcp\ExecutableCreator.cs (2)
276spec.MonitorTimestamp = null; 287spec.MonitorTimestamp = parentProcessTimestamp;
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (2)
10025AssertMonitorTimestamp(new ExecutableSpec { MonitorPid = 1234, MonitorTimestamp = wholeSecondTimestamp }, "0001-01-01T00:06:30.000000Z"); 10026AssertMonitorTimestamp(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)
5131Assert.Null(exe.Spec.MonitorTimestamp); 5285Assert.NotNull(exe.Spec.MonitorTimestamp); 5286Assert.Equal(parentProcessIdentity.Timestamp, exe.Spec.MonitorTimestamp.Value, TimeSpan.FromMicroseconds(1)); 10052Assert.Equal(expectedTimestamp, executableSpec.MonitorTimestamp);
DistributedApplicationTests.cs (2)
2066Assert.NotNull(dcpExecutable.Spec.MonitorTimestamp); 2067Assert.InRange((dcpExecutable.Spec.MonitorTimestamp.Value - parentProcessIdentity.Timestamp).Duration(), TimeSpan.Zero, TimeSpan.FromMilliseconds(1));