public static Dictionary <string, protInfo> GetProfile(profileNode node, DCDFile dcd) { profileNode n = GetNode(node.internalName); if (n != null) { Type t = Type.GetType(internalList[n]); InternalProfileBase c = Activator.CreateInstance(t) as InternalProfileBase; return(c.GetProfile(node, null, dcd)); } return(null); }
public Dictionary <string, protInfo> GetProfile(profileNode node, string listFile) { profileNode n = GetNode(node.internalName); if (n != null) { Type t = Type.GetType(internalList[n]); InternalProfileBase c = Activator.CreateInstance(t) as InternalProfileBase; progressInfo = c; Dictionary <string, protInfo> res = c.GetProfile(node, listFile, null); progressInfo = null; progress++; return(res); } return(null); }