public void Undo() { if (index != -1) { compositeType.ReinsertMember(member, index); } }
public void Execute() { if (newMember == null) { newMember = addOperation(parent); } else { parent.ReinsertMember(newMember, parent.MemberCount); } }