Esempio n. 1
0
    public static void FileWriteLines(string path, string[] contents)
    {
        path = StorageUtility.ConvertPathSeparators(path);
        Task <bool> task = StorageUtility.AsyncFileWriteLines(path, contents);

        task.Wait();
    }
Esempio n. 2
0
 public unsafe static long $Invoke6(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncFileWriteLines(Marshal.PtrToStringUni(*(IntPtr *)args), (string[])GCHandledObjects.GCHandleToPinnedArrayObject(args[1]))));
 }