예제 #1
0
        public virtual bool Remove(GenericListEntry <T> item)
        {
            if (getNode(item.Name) == null)
            {
                return(false);
            }

            bool removed = false;

            removeNode(item.Name, ref removed);
            return(removed);
        }
예제 #2
0
 public void Insert(int index, GenericListEntry <T> item)
 {
     throw new System.NotImplementedException();
 }
예제 #3
0
 public int IndexOf(GenericListEntry <T> item)
 {
     throw new System.NotImplementedException();
 }
예제 #4
0
 public bool Contains(GenericListEntry <T> item)
 {
     return(getNode(item.Name) != null);
 }
예제 #5
0
 public void Add(GenericListEntry <T> item)
 {
     setNode(new ListNode <T> (item.Name, item.RawEntry));
 }