/// <summary> /// Exposes the API of the given assembly to the Evaluator /// </summary> static public void ReferenceAssembly(Assembly a) { lock (evaluator_lock){ RootNamespace.Global.AddAssemblyReference(a); RootNamespace.ComputeNamespaces(); } }
/// <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(); } }