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