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;
         }
     }
 }
Beispiel #5
0
        public bool RemoveMember(GEDCOMIndividualRecord member)
        {
            if (member == null)
            {
                return(false);
            }

            fMembers.DeleteAt(IndexOfMember(member));
            member.Groups.DeleteAt(member.IndexOfGroup(this));

            return(true);
        }
Beispiel #6
0
        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;
                }
            }
        }
Beispiel #7
0
 public void Delete(int index)
 {
     fTags.DeleteAt(index);
 }