Ejemplo n.º 1
0
 protected virtual void FireOnPostRender(TreeLeafTag tag = null)
 {
     if (OnPostRender != null)
     {
         OnPostRender(this, tag ?? this);
     }
     if (Parent != null)
     {
         Parent.FireOnPostRender(tag ?? this);
     }
 }
Ejemplo n.º 2
0
 protected virtual void FireOnCheckAdoptability(TreeLeafTag tag = null)
 {
     if (OnPreRender != null)
     {
         OnCheckAdoptability(this, tag ?? this);
     }
     if (Parent != null)
     {
         Parent.FireOnCheckAdoptability(tag ?? this);
     }
 }