Ejemplo n.º 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)));
     }
 }
Ejemplo n.º 2
0
 public List <string> GetDirectories(string path)
 {
     LoadStructure();
     return(root.GetDirectories(SplitPath(path)));
 }