示例#1
0
        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);
        }
示例#2
0
        public folderNode Add(folderStructure subStructure)
        {
            folderNode node = new folderNode(subStructure.name, subStructure.caption, subStructure.description);

            return(Add(node));
        }