Ejemplo n.º 1
0
 /// <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>
 public static void AppendAllText(this IsolatedStorageFile store, string path, string contents)
 {
     store.AppendAllText(path, contents, _uft8NoBOM);
 }
Ejemplo n.º 2
0
 /// <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>
 public void AppendAllText(string path, string contents)
 {
     Storage.AppendAllText(path, contents);
 }