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))); } }
public List <IArchiveEntry> GetFiles(string path) { LoadStructure(); return(root.GetFiles(SplitPath(path))); }