public void Remove() { if (_parent == null) { throw new InvalidOperationException("The parent is missing."); } _parent.RemoveItem(this); }
public void Remove() { if (_parent == null) { throw new InvalidOperationException("The parent is missing."); } _parent.RemoveItem(this); }