Esempio n. 1
0
        public ElaList AssemblyModules(ElaModule mod)
        {
            var vm   = mod.GetCurrentMachine();
            var asm  = vm.Assembly;
            var list = new List <ElaValue>();

            for (var i = 0; i < asm.ModuleCount; i++)
            {
                list.Add(new ElaValue(new ElaModule(i, vm)));
            }

            return(ElaList.FromEnumerable(list));
        }
Esempio n. 2
0
        public ElaModule AssemblyMainModule(ElaModule mod)
        {
            var vm = mod.GetCurrentMachine();

            return(new ElaModule(0, vm));
        }
Esempio n. 3
0
 public int AssemblyModuleCount(ElaModule mod)
 {
     return(mod.GetCurrentMachine().Assembly.ModuleCount);
 }