in Source/Tx.Bond/BinaryEventSource.cs [136:186]
public void WriteManifest(
DateTime occurenceTime,
DateTime receiveTime,
string protocol,
string source,
string manifestId,
string manifestData)
{
if (this.IsEnabled())
{
if (protocol == null)
{
throw new ArgumentNullException(nameof(protocol));
}
if (source == null)
{
throw new ArgumentNullException(nameof(source));
}
if (manifestData == null)
{
throw new ArgumentNullException(nameof(manifestData));
}
if (manifestId == null)
{
throw new ArgumentNullException(nameof(manifestId));
}
// before 12:00 midnight January 1, 1601 C.E. UTC.
if (occurenceTime.ToUniversalTime().Ticks < 504911232000000000L)
{
occurenceTime = this.minDateTime;
}
// before 12:00 midnight January 1, 1601 C.E. UTC.
if (receiveTime.ToUniversalTime().Ticks < 504911232000000000L)
{
receiveTime = this.minDateTime;
}
this.WriteManifestInternal(
occurenceTime,
receiveTime,
protocol,
source,
manifestId,
manifestData);
}
}