Esempio n. 1
0
    public static StorageFolder GetFolder(StorageFolder folder, string name)
    {
        Task <StorageFolder> task = StorageUtility.AsyncGetFolder(folder, name);

        task.Wait();
        return(task.Result);
    }
Esempio n. 2
0
 public unsafe static long $Invoke9(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(StorageUtility.AsyncGetFolder((StorageFolder)GCHandledObjects.GCHandleToObject(*args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)))));
 }