public static Folder InitSubFolder(Folder subFolder, Folder parentFolder) { string full_path = Path.Combine(parentFolder.FullPath, ImapUtils.ToUtf7String(subFolder.Name)); return(new Folder(subFolder.ID, parentFolder.IDAcct, parentFolder.ID, subFolder.Name, full_path, subFolder.Type, subFolder.SyncType, subFolder.Hide, subFolder.FolderOrder)); }