public override void SetParent(ChangeHeader parent) { base.SetParent(parent); foreach (BinElement element in elements) { if (element is BinAlloc alloc) { parent.Add(alloc.EditData); } } }
public virtual void SetParent(ChangeHeader parent) { this.parent = parent; }