예제 #1
0
        void OnDescendantAdded(Element child)
        {
            DescendantAdded?.Invoke(this, new ElementEventArgs(child));

            if (RealParent != null)
            {
                RealParent.OnDescendantAdded(child);
            }
        }
예제 #2
0
 void OnDescendantAdded(Element child)
 {
     DescendantAdded?.Invoke(this, new ElementEventArgs(child));
     RealParent?.OnDescendantAdded(child);
 }