Esempio n. 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();
     }
 }
Esempio n. 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);
     }
 }