private LibraryLoader(LoadedModuleHandle moduleHandle, RuntimeEnvironment _env, ScriptingEngine _engine): base(moduleHandle) { this._env = _env; this._engine = _engine; this._customized = true; _engine.InitializeSDO(this); }
public LoadedModuleHandle LoadModuleImage(ScriptModuleHandle moduleImage) { var handle = new LoadedModuleHandle(); handle.Module = new LoadedModule(moduleImage.Module); return handle; }
public void ExecuteModule(LoadedModuleHandle module) { var scriptContext = new Machine.Contexts.UserScriptContextInstance(module.Module); InitializeSDO(scriptContext); }
public IRuntimeContextInstance NewObject(LoadedModuleHandle module, ExternalContextData externalContext) { return NewObject(module.Module, externalContext); }
public IRuntimeContextInstance NewObject(LoadedModuleHandle module) { return NewObject(module.Module); }
public ScriptDrivenObject(LoadedModuleHandle module, bool deffered) : this(module.Module, deffered) { }
public ScriptDrivenObject(LoadedModuleHandle module) : this(module.Module) { }
private Process InitProcess(IHostApplication host, ICodeSource src, ref LoadedModuleHandle module) { Initialize(); var process = new Process(host, module, _engine); return process; }
public ReflectableSDO(ScriptDrivenObject instance, LoadedModuleHandle module) : this(instance, module.Module) { }
internal Process(IHostApplication host, LoadedModuleHandle src, ScriptingEngine runtime) { _host = host; _engine = runtime; _module = src; }