예제 #1
0
 /// <summary>
 /// Fetches all of the objects in the enumeration. Equivalent to
 /// calling
 /// <see cref="AVObject.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 : AVObject
 {
     return(AVObject.FetchAllAsync(objects, cancellationToken));
 }
예제 #2
0
 /// <summary>
 /// Fetches all of the objects in the enumeration. Equivalent to
 /// calling <see cref="AVObject.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 : AVObject
 {
     return(AVObject.FetchAllAsync(objects));
 }