Exemple #1
0
 public SymplLangContext(ScriptDomainManager manager,
                         IDictionary <string, object> options)
     : base(manager)
 {
     // TODO: parse options
     // TODO: register event  manager.AssemblyLoaded
     _sympl = new Sympl(manager.GetLoadedAssemblyList(), manager.Globals);
 }
Exemple #2
0
        public VBScriptContext(ScriptDomainManager manager,
                               IDictionary <string, object> options)
            : base(manager)
        {
            // TODO: parse options
            // TODO: register event  manager.AssemblyLoaded
            _vbscript = new VBScript(manager.GetLoadedAssemblyList(), manager.Globals);

            if (options.ContainsKey("Trace") && options["Trace"].Equals(true))
            {
                _vbscript.Trace = true;
            }
        }
Exemple #3
0
 // The DLR uses reflection to instantiate this and requires the "options" param
 public RilaContext(ScriptDomainManager domainManager, IDictionary <string, object> options) : base(domainManager)
 {
     rila = new Rila(domainManager.GetLoadedAssemblyList(), domainManager.Globals);
 }