public void RemoveCommunication(GEDCOMCommunicationRecord commRecord) { if (commRecord == null) { return; } fCommunications.DeleteAt(IndexOfCommunication(commRecord)); }
public void RemoveGroup(GEDCOMGroupRecord groupRecord) { if (groupRecord == null) { return; } fGroups.DeleteAt(IndexOfGroup(groupRecord)); }
public void RemoveTask(GEDCOMTaskRecord taskRecord) { if (taskRecord == null) { return; } fTasks.DeleteAt(IndexOfTask(taskRecord)); }
public void DeleteChild(GEDCOMRecord childRec) { for (int i = fChildren.Count - 1; i >= 0; i--) { if (fChildren[i].Value == childRec) { fChildren.DeleteAt(i); break; } } }
public bool RemoveMember(GEDCOMIndividualRecord member) { if (member == null) { return(false); } fMembers.DeleteAt(IndexOfMember(member)); member.Groups.DeleteAt(member.IndexOfGroup(this)); return(true); }
public void DeleteChildToFamilyLink(GEDCOMFamilyRecord familyRec) { int num = fChildToFamilyLinks.Count; for (int i = 0; i < num; i++) { if (fChildToFamilyLinks[i].Family == familyRec) { fChildToFamilyLinks.DeleteAt(i); break; } } }
public void Delete(int index) { fTags.DeleteAt(index); }