public static Dictionary <Guid, guidanceExplorer> getGuidanceExplorerObjects(this TM_FileStorage tmFileStorage, string pathXmlLibraries) { var guidanceExplorers = new Dictionary <Guid, guidanceExplorer>(); var guidanceExplorersXmlFiles = pathXmlLibraries.getGuidanceExplorerFilesInPath(); foreach (var xmlFile in guidanceExplorersXmlFiles) { tmFileStorage.addGuidanceExplorerObject(guidanceExplorers, xmlFile); } return(guidanceExplorers); }
public static Dictionary <Guid, guidanceExplorer> addGuidanceExplorerObject(this TM_FileStorage tmFileStorage, Dictionary <Guid, guidanceExplorer> guidanceExplorers, string xmlFile) { var guidanceExplorer = xmlFile.getGuidanceExplorerObject(); return(tmFileStorage.addGuidanceExplorerObject(guidanceExplorers, guidanceExplorer, xmlFile)); }