public FolderTree(IList<ITree<IFileableCmisObject>> trees, IFolder folder)
{
this.path = folder.Path;
this.Name = folder.Name;
if(trees != null)
foreach (ITree<IFileableCmisObject> tree in trees)
{
Folder f = tree.Item as Folder;
if(f!=null)
this.children.Add(new FolderTree(tree.Children, f));
}
}
}