public object[] GetActiveScripts() { EvaluationContext context = this; lock (context) { return this._activeScripts.ToArray(); } }