示例#1
0
        public void SetUsing(PUsing node)
        {
            if(_using_ != null)
            {
            _using_.Parent(null);
            }

            if(node != null)
            {
            if(node.Parent() != null)
            {
                node.Parent().RemoveChild(node);
            }

            node.Parent(this);
            }

            _using_ = node;
        }
示例#2
0
 internal override void RemoveChild(Node child)
 {
     if ( _using_ == child )
     {
     _using_ = null;
     return;
     }
 }
示例#3
0
     public ABScopealteration(
         PUsing _using_
 )
     {
         SetUsing (_using_);
     }