4 writes to MonitorTimestamp
Aspire.Hosting (2)
Dcp\ExecutableCreator.cs (2)
361spec.MonitorTimestamp = null; 372spec.MonitorTimestamp = parentProcessTimestamp;
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (2)
11294AssertMonitorTimestamp(new ExecutableSpec { MonitorPid = 1234, MonitorTimestamp = wholeSecondTimestamp }, "0001-01-01T00:06:30.000000Z"); 11295AssertMonitorTimestamp(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)
5851Assert.Null(exe.Spec.MonitorTimestamp); 6005Assert.NotNull(exe.Spec.MonitorTimestamp); 6006Assert.Equal(parentProcessIdentity.Timestamp, exe.Spec.MonitorTimestamp.Value, TimeSpan.FromMicroseconds(1)); 11321Assert.Equal(expectedTimestamp, executableSpec.MonitorTimestamp);
DistributedApplicationTests.cs (2)
2077Assert.NotNull(dcpExecutable.Spec.MonitorTimestamp); 2078Assert.InRange((dcpExecutable.Spec.MonitorTimestamp.Value - parentProcessIdentity.Timestamp).Duration(), TimeSpan.Zero, TimeSpan.FromMilliseconds(1));