Exemplo n.º 1
0
 /// <summary>
 /// Fetches all of the objects in the enumeration. Equivalent to
 /// calling
 /// <see cref="ParseObject.FetchAllAsync{T}(IEnumerable{T}, CancellationToken)"/>.
 /// </summary>
 /// <param name="objects">The objects to fetch.</param>
 /// <param name="cancellationToken">The cancellation token.</param>
 public static Task <IEnumerable <T> > FetchAllAsync <T>(
     this IEnumerable <T> objects, CancellationToken cancellationToken)
     where T : ParseObject
 {
     return(ParseObject.FetchAllAsync(objects, cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Fetches all of the objects in the enumeration. Equivalent to
 /// calling <see cref="ParseObject.FetchAllAsync{T}(IEnumerable{T})"/>.
 /// </summary>
 /// <param name="objects">The objects to save.</param>
 public static Task <IEnumerable <T> > FetchAllAsync <T>(this IEnumerable <T> objects)
     where T : ParseObject
 {
     return(ParseObject.FetchAllAsync(objects));
 }