예제 #1
0
 private void BuildChildren()
 {
     if (children == null)
     {
         children = node.GetDirectories(new List <string>()).ConvertAll((i) => {
             return(new FileListOutlineItem(i, node.GetDirectory(new List <string>(new String[] { i }))));
         });
         children.AddRange(node.GetFiles(new List <string>()).ConvertAll((i) => new FileListOutlineItem(i)));
     }
 }
예제 #2
0
 public List <IArchiveEntry> GetFiles(string path)
 {
     LoadStructure();
     return(root.GetFiles(SplitPath(path)));
 }