void OnDescendantRemoved(Element child) { DescendantRemoved?.Invoke(this, new ElementEventArgs(child)); if (RealParent != null) { RealParent.OnDescendantRemoved(child); } }
void OnDescendantRemoved(Element child) { DescendantRemoved?.Invoke(this, new ElementEventArgs(child)); RealParent?.OnDescendantRemoved(child); }