readAllFiles(String, ref XElement, String) Method
reads all files contained in rootPath and its sub-folders (recursively) and adds them to the DBConfig menu (sub)structure (recursively). For folders contained in specialConfigStoreFolders, apply further structuring by splitting names on camel-case or specialConfigStoreSeparator
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)
Syntax
private static void readAllFiles( string rootPath, ref XElement currentBar, string Folderpath )
Parameters
- rootPath
- Type: Stringroot folder to be searched for config files
- currentBar
- Type: XElementcurrent menu element, where sub-menus and buttons are added
- Folderpath
- Type: Stringfor sub menus path of current folder is passed (recursively)