/// <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)); }
/// <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)); }