/// <summary> /// Recursivly traverses all the subfiles and folders of a given base directory and returns a collection that contains all records /// </summary> /// <param name="uri">The base uri to the directory to list all the subfiles and subfolders</param> /// <param name="revision">The revision that has to be traversed</param> /// <returns>A collection with all subfiles and folders</returns> public List <Item> GetItems(Uri uri, int revision, Depth depth) { //Remark: This method may return thousands of records. Therefore it might has to limit the amount for once pass. if (uri == null) { throw new ArgumentNullException("uri"); } EnsureAuthenticated(); return(m_client.GetItems(uri, revision, depth)); }