Example #1
0
 internal override void RemoveChild(Node child)
 {
     if ( _primary_ == child )
     {
     _primary_ = null;
     return;
     }
 }
Example #2
0
     public ADSimple(
         PPrimary _primary_
 )
     {
         SetPrimary (_primary_);
     }
Example #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;
        }
Example #4
0
     public ABraceblockinside(
         PPrimary _primary_
 )
     {
         SetPrimary (_primary_);
     }