コード例 #1
0
        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);
        }
コード例 #2
0
        public void Remove(ScopeInstance scope)
        {
            if (scope == null)
            {
                throw new JavaScriptException(Engine, "Error", "Scope must be specified.");
            }

            m_scopeDisplayGroup.Remove(scope.Scope);
        }
コード例 #3
0
        public int IndexOf(ScopeInstance scope)
        {
            if (scope == null)
            {
                throw new JavaScriptException(Engine, "Error", "Scope must be specified.");
            }

            return(m_scopeDisplayGroup.IndexOf(scope.Scope));
        }