protected virtual void OnNodeRotateRight(RedBlackTreeNodeEventArgs args)
 {
     if (NodeRotateRight != null)
     {
         NodeRotateRight(this, args);
     }
 }
 protected virtual void OnChildrenChanged(RedBlackTreeNodeEventArgs args)
 {
     if (ChildrenChanged != null)
     {
         ChildrenChanged(this, args);
     }
 }
示例#3
0
        protected virtual void OnNodeRemoved(RedBlackTreeNodeEventArgs e)
        {
            EventHandler <RedBlackTreeNodeEventArgs> handler = this.NodeRemoved;

            if (handler != null)
            {
                handler(this, e);
            }
        }