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