private void InitAssembler() { List <string> assembers = AssemblerLoader.ListAssembler("."); foreach (string a in assembers) { // MoneyAssembler.Plugin = AssemblerLoader.ResponseAssemblerList(a); break; } }
private void InitAssemblerDictionary(string serpath) { List <string> assembers = AssemblerLoader.ListAssembler(serpath); AssemblerDictionary.AssemblerPlugins = new Dictionary <string, IXmlAssembler>(); foreach (string file in assembers) { //MessageBox.Show(file); foreach (IXmlAssembler obj in AssemblerLoader.ResponseAssemblerList(file)) { AssemblerDictionary.AssemblerPlugins.Add(obj.AssemblerType, obj); } break; } }