Exemple #1
0
 /// <summary>
 /// Reads a range of an array from the object by date time
 /// </summary>
 /// <typeparam name="T">The element type of the array</typeparam>
 /// <param name="propertyExpr">The expression of the array</param>
 /// <param name="start">The datetime to start reading at</param>
 /// <param name="count">The number of entries to read</param>
 /// <returns>The resulting array range</returns>
 public Task <ReadOnlyArray <T> > ReadRangeByTimeAsync <T>(
     Expression <Func <TObj, ReadOnlyArray <T> > > propertyExpr,
     DateTime start,
     int count)
 {
     return(ReadRangeByTimeAsync(propertyExpr, DateAndTime.FromDateTime(start), count));
 }