示例#1
0
 /// <summary>
 /// Fetches all of the objects in the enumeration that don't already have
 /// data. Equivalent to calling
 /// <see cref="ParseObject.FetchAllIfNeededAsync{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> > FetchAllIfNeededAsync <T>(
     this IEnumerable <T> objects, CancellationToken cancellationToken)
     where T : ParseObject
 {
     return(ParseObject.FetchAllIfNeededAsync(objects, cancellationToken));
 }
示例#2
0
 /// <summary>
 /// Fetches all of the objects in the enumeration that don't already have
 /// data. Equivalent to calling
 /// <see cref="ParseObject.FetchAllIfNeededAsync{T}(IEnumerable{T})"/>.
 /// </summary>
 /// <param name="objects">The objects to fetch.</param>
 public static Task <IEnumerable <T> > FetchAllIfNeededAsync <T>(
     this IEnumerable <T> objects)
     where T : ParseObject
 {
     return(ParseObject.FetchAllIfNeededAsync(objects));
 }