Esempio n. 1
0
        static Environment()
        {
            Runtime.Import(typeof(Environment).Assembly);
            string fp = System.IO.Path.GetDirectoryName(typeof(Environment).Assembly.Location)
                        + System.IO.Path.DirectorySeparatorChar + "lsc.exe";

            if (System.IO.File.Exists(fp))
            {
                Assembly a = AssemblyCache.LoadAssembly(fp);
                Runtime.Import(a);
            }
        }
Esempio n. 2
0
 public static Object Import(Cons args, Environment environment)
 {
     return(Runtime.Import(args.First() as string, environment));
 }