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