Exemplo n.º 1
0
 public Array GetValues(int[] index, int count)
 {
     return(MtaThread.Run(() => source.GetValues(index, count)));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the values.
 /// </summary>
 /// <returns>The items.</returns>
 /// <param name="index">The index.</param>
 /// <param name="count">The number of items to get.</param>
 /// <remarks>
 /// This method is useful for incrementally fetching an array in order to avoid
 /// long waiting periods when the array is too large for ToArray().
 /// </remarks>
 public Array GetValues(int index, int count)
 {
     return(source.GetValues(new int[] { index }, count));
 }