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

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

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

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

            Add(item);
            return(item);
        }
Exemple #5
0
 public void Remove(NgbhItem item)
 {
     list.Remove(item);
     if (ngbh != null)
     {
         ngbh.Changed = true;
     }
 }
Exemple #6
0
 public void Insert(int index, NgbhItem item)
 {
     list.Insert(index, item);
     if (ngbh != null)
     {
         ngbh.Changed = true;
     }
 }
Exemple #7
0
 public void Add(NgbhItem item)
 {
     list.Add(item);
     if (ngbh != null)
     {
         ngbh.Changed = true;
     }
 }
Exemple #8
0
 public static bool IsSpamMemory(NgbhItem item)
 {
     return(IsSpamMemory(item.Guid));
 }
Exemple #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));
 }
Exemple #10
0
 public bool Contains(NgbhItem item)
 {
     return(list.Contains(item));
 }