public dynamic GetFiles(int folderid, string uid, int skip, int pagesize, string keyword)
 {
     return(BrowseUploadFactory.GetPagedFiles(0, new TreeView()
     {
         Value = folderid
     }, null, FileSetting.FileType, skip, pagesize, keyword));
 }
 public dynamic GetFiles(int folderid, string uid, int skip, int pagesize, string keyword)
 {
     return(BrowseUploadFactory.GetPagedFiles(0, new TreeView()
     {
         Value = folderid
     }, null, Host.AllowedExtensionWhitelist.ToStorageString(), skip, pagesize, keyword));
 }
예제 #3
0
        public dynamic GetFiles(int folderid, string uid, int skip, int pagesize, string keyword)
        {
            if (!string.IsNullOrEmpty(uid) && uid == "null")
            {
                uid = null;
            }

            return(BrowseUploadFactory.GetPagedFiles(0, new TreeView()
            {
                Value = folderid
            }, uid, null, skip, pagesize, keyword));
        }
 public dynamic GetFiles(int folderid, string uid, int skip, int pagesize, string keyword)
 {
     if (!string.IsNullOrEmpty(uid) && uid == "FavIcon")
     {
         return(BrowseUploadFactory.GetPagedFiles(0, new TreeView()
         {
             Value = folderid
         }, uid, "ico", skip, pagesize, keyword));
     }
     else
     {
         return(BrowseUploadFactory.GetPagedFiles(0, new TreeView()
         {
             Value = folderid
         }, uid, Entities.FileSetting.FileType, skip, pagesize, keyword));
     }
 }