Esempio n. 1
0
        private void AddNamedItemNamespace()
        {
            GlobalScope scope = (GlobalScope)this.Scope.GetObject();

            if (scope.isComponentScope)
            {
                scope = (GlobalScope)scope.GetParent();
            }
            ScriptObject      parent = scope.GetParent();
            VsaNamedItemScope scope2 = new VsaNamedItemScope(this.GetObject(), parent, base.engine);

            scope.SetParent(scope2);
            scope2.SetParent(parent);
        }