示例#1
0
 internal override void RemoveChild(Node child)
 {
     if ( _primary_ == child )
     {
     _primary_ = null;
     return;
     }
 }
示例#2
0
     public ADSimple(
         PPrimary _primary_
 )
     {
         SetPrimary (_primary_);
     }
示例#3
0
        public void SetPrimary(PPrimary node)
        {
            if(_primary_ != null)
            {
            _primary_.Parent(null);
            }

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

            node.Parent(this);
            }

            _primary_ = node;
        }
示例#4
0
     public ABraceblockinside(
         PPrimary _primary_
 )
     {
         SetPrimary (_primary_);
     }