Beispiel #1
0
 public static Async <Unit> AppendTextFileAsync(this FileSystem f, string p, string c, Encoding encoding = null)
 {
     return(() =>
     {
         encoding = encoding ?? Encoding.UTF8;
         return f.AppendFileAsync(p, encoding.GetBytes(c)).RunSynchronously();
     });
 }