[STAThread()] /* WinForms */ private static int Main(string[] args) { // // NOTE: Check and see if we need to break into the debugger // before doing anything else. // ShellOps.CheckBreak(args); /* throw */ // // NOTE: The Interpreter class now handles all the default // behavior of the shell. // return((int)Interpreter.ShellMain(args)); }
[STAThread()] /* WinForms */ private static int Main(string[] args) { // // NOTE: Check and see if we need to break into the debugger // before doing anything else. // ShellOps.CheckBreak(args); /* throw */ // // NOTE: Attempt to load the main Eagle assembly by name. // Assembly assembly = Assembly.Load(assemblyName); /* throw */ // // NOTE: Attempt to locate the Interpreter type by name. // Type type = assembly.GetType(typeName); /* throw */ // // NOTE: Attempt to invoke the shell entry point by name. // return((int)type.InvokeMember(memberName, bindingFlags, null, null, new object[] { args })); /* throw */ }