예제 #1
0
        protected override void UpdateWatermarkFromMinReceivedDate(ExDateTime minReceivedDate)
        {
            FirstTimeSyncWatermark firstTimeSyncWatermark = this.CurFTSMaxWatermark as FirstTimeSyncWatermark;

            if (firstTimeSyncWatermark == null)
            {
                this.CurFTSMaxWatermark = FirstTimeSyncWatermark.Create(minReceivedDate, 0);
                return;
            }
            if (firstTimeSyncWatermark.ReceivedDateUtc == ExDateTime.MinValue || firstTimeSyncWatermark.ReceivedDateUtc > minReceivedDate)
            {
                firstTimeSyncWatermark.Update(0, false, minReceivedDate);
            }
        }
 // Token: 0x060016CC RID: 5836 RVA: 0x00089751 File Offset: 0x00087951
 public static FirstTimeSyncWatermark CreateNew()
 {
     return(FirstTimeSyncWatermark.Create(ExDateTime.MinValue, -1));
 }