예제 #1
0
        public NgbhItem InsertNew(int index, SimMemoryType type)
        {
            NgbhItem item = new NgbhItem(parent, type);

            Insert(index, item);
            return(item);
        }
예제 #2
0
        public NgbhItem AddNew(SimMemoryType type)
        {
            NgbhItem item = new NgbhItem(parent, type);

            Add(item);
            return(item);
        }
예제 #3
0
        public NgbhItem InsertNew(int index)
        {
            NgbhItem item = new NgbhItem(parent);

            Insert(index, item);
            return(item);
        }
예제 #4
0
        public NgbhItem AddNew()
        {
            NgbhItem item = new NgbhItem(parent);

            Add(item);
            return(item);
        }
예제 #5
0
 public void Remove(NgbhItem item)
 {
     list.Remove(item);
     if (ngbh != null)
     {
         ngbh.Changed = true;
     }
 }
예제 #6
0
 public void Insert(int index, NgbhItem item)
 {
     list.Insert(index, item);
     if (ngbh != null)
     {
         ngbh.Changed = true;
     }
 }
예제 #7
0
 public void Add(NgbhItem item)
 {
     list.Add(item);
     if (ngbh != null)
     {
         ngbh.Changed = true;
     }
 }
예제 #8
0
 public static bool IsSpamMemory(NgbhItem item)
 {
     return(IsSpamMemory(item.Guid));
 }
예제 #9
0
 /// <summary>
 /// Returns an identifier for the type of Subject the memory refers to.
 /// </summary>
 public static ushort GetSubjectType(NgbhItem item)
 {
     return(GetSubjectType(item.Guid));
 }
예제 #10
0
 public bool Contains(NgbhItem item)
 {
     return(list.Contains(item));
 }