public static folderStructure GetFolderNodeForPath(String path) { DirectoryInfo di = new DirectoryInfo(path); folderStructure node = new folderStructure(di.FullName, di.Name.imbTitleCamelOperation(true), "Folder node generated from DirectoryInfo object: " + di.FullName); return(node); }
public folderNode Add(folderStructure subStructure) { folderNode node = new folderNode(subStructure.name, subStructure.caption, subStructure.description); return(Add(node)); }