public static List <string> GetClassNames(string dllName) { List <string> results = new List <string>(); StreamReader sr = GetResourceNames(dllName); if (sr != null) { CSFiles c = SerializeHelper.DeserializeFromXML <CSFiles>(sr); results = c.CSFileNames; results = RemoveRepeat.DeleteRepeat(results); } return(results); }
public static List <string> GetDllNames() { List <Configuration> confogs = Configuration.GetAll(GlobalVariable.ConfigXml); List <string> results = new List <string>(); if (confogs != null) { foreach (var item in confogs) { //List<string> dllFiles = new FileHelper(item.resultPath, "*.dll").GetAllFiles(); //List<string> exeFiles = new FileHelper(item.resultPath, "*.exe").GetAllFiles(); //results.AddRange(dllFiles); //results.AddRange(exeFiles); results.Add(item.buildType); } results = RemoveRepeat.DeleteRepeat(results); } return(results); }