/// <summary> /// Appends lines to a file, and then closes the file. /// </summary> /// <param name="store">The <see cref="IsolatedStorageFile"/> object.</param> /// <param name="path">The file to append the lines to. The file is created if it does not already exist.</param> /// <param name="contents">The lines to append to the file.</param> /// <returns>The <see cref="Task"/> object representing the asynchronous operation.</returns> public static Task AppendAllLinesAsync(this IsolatedStorageFile store, string path, IEnumerable <string> contents) { return(store.AppendAllLinesAsync(path, contents, _uft8NoBOM)); }
/// <summary> /// Appends lines to a file, and then closes the file. /// </summary> /// <param name="path">The file to append the lines to. The file is created if it does not already exist.</param> /// <param name="contents">The lines to append to the file.</param> /// <returns>The <see cref="Task"/> object representing the asynchronous operation.</returns> public Task AppendAllLines(string path, IEnumerable <string> contents) { return(Storage.AppendAllLinesAsync(path, contents)); }