public void Insert(int index, ScopeInstance scope) { if (scope == null) { throw new JavaScriptException(Engine, "Error", "Scope must be specified."); } m_scopeDisplayGroup.Insert(index, scope.Scope); }
public void Remove(ScopeInstance scope) { if (scope == null) { throw new JavaScriptException(Engine, "Error", "Scope must be specified."); } m_scopeDisplayGroup.Remove(scope.Scope); }
public int IndexOf(ScopeInstance scope) { if (scope == null) { throw new JavaScriptException(Engine, "Error", "Scope must be specified."); } return(m_scopeDisplayGroup.IndexOf(scope.Scope)); }