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