private CalendarViewBatchingStrategy(int?idealMaxCount, CalendarViewQueryResumptionPoint queryResumptionPoint)
 {
     this.idealMaxCount        = idealMaxCount;
     this.queryResumptionPoint = queryResumptionPoint;
     this.ResetCount();
     this.instanceKeyIndex = -1;
     this.sortKeyIndex     = -1;
     this.keyIndicesAreSet = false;
 }
 public static CalendarViewBatchingStrategy CreateResumingInstance(int idealMaxCount, CalendarViewQueryResumptionPoint resumptionPoint)
 {
     Util.ThrowOnNullArgument(resumptionPoint, "resumptionPoint");
     return(new CalendarViewBatchingStrategy(new int?(idealMaxCount), resumptionPoint));
 }
 private void ResetQueryResumptionPoint(object[] row, bool recurring)
 {
     this.queryResumptionPoint = CalendarViewQueryResumptionPoint.CreateInstance(recurring, row[this.instanceKeyIndex] as byte[], row[this.sortKeyIndex] as ExDateTime?);
 }
 private static CalendarViewQueryResumptionPoint CreateResumptionPointWithoutInstanceKey(bool recurring)
 {
     return(CalendarViewQueryResumptionPoint.CreateInstance(recurring, null, null));
 }