/// <summary> /// Create new DlrScope for executing base stuff /// </summary> /// <param name="host">Instance of the hosting component</param> public DlrScriptScope(IDlrHost host) { this.host = host; cachedExpressions = new Dictionary<string, CompiledCode>(); executedScripts = new List<string>(); scriptScope = host.ScriptEngine.CreateScope(); }
/// <summary> /// Create new DlrScope for executing base stuff /// </summary> /// <param name="host">Instance of the hosting component</param> public DlrScriptScope(IDlrHost host) { this.host = host; cachedExpressions = new Dictionary <string, CompiledCode>(); executedScripts = new List <string>(); scriptScope = host.ScriptEngine.CreateScope(); }