/// <summary> /// Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file. /// </summary> /// <param name="store">The <see cref="IsolatedStorageFile"/> object.</param> /// <param name="path">The file to append the specified string to.</param> /// <param name="contents">The string to append to the file.</param> /// <returns>The <see cref="Task"/> object representing the asynchronous operation.</returns> public static Task AppendAllTextAsync(this IsolatedStorageFile store, string path, string contents) { return(store.AppendAllTextAsync(path, contents, _uft8NoBOM)); }
/// <summary> /// Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file. /// </summary> /// <param name="path">The file to append the specified string to.</param> /// <param name="contents">The string to append to the file.</param> /// <returns>The <see cref="Task"/> object representing the asynchronous operation.</returns> public Task AppendAllText(string path, string contents) { return(Storage.AppendAllTextAsync(path, contents)); }