Example #1
0
 /// <summary>
 ///    Loads the given assembly and exposes the API to the user.
 /// </summary>
 static public void LoadAssembly(string file)
 {
     lock (evaluator_lock){
         Driver.LoadAssembly(file, false);
         RootNamespace.ComputeNamespaces();
     }
 }
Example #2
0
 /// <summary>
 ///    Loads the given assembly and exposes the API to the user.
 /// </summary>
 static public void LoadAssembly(string file)
 {
     lock (evaluator_lock){
         driver.LoadAssembly(file, false);
         GlobalRootNamespace.Instance.ComputeNamespaces(ctx);
     }
 }