public NgbhItem InsertNew(int index, SimMemoryType type) { NgbhItem item = new NgbhItem(parent, type); Insert(index, item); return(item); }
public NgbhItem AddNew(SimMemoryType type) { NgbhItem item = new NgbhItem(parent, type); Add(item); return(item); }
public NgbhItem InsertNew(int index) { NgbhItem item = new NgbhItem(parent); Insert(index, item); return(item); }
public NgbhItem AddNew() { NgbhItem item = new NgbhItem(parent); Add(item); return(item); }
public void Remove(NgbhItem item) { list.Remove(item); if (ngbh != null) { ngbh.Changed = true; } }
public void Insert(int index, NgbhItem item) { list.Insert(index, item); if (ngbh != null) { ngbh.Changed = true; } }
public void Add(NgbhItem item) { list.Add(item); if (ngbh != null) { ngbh.Changed = true; } }
public static bool IsSpamMemory(NgbhItem item) { return(IsSpamMemory(item.Guid)); }
/// <summary> /// Returns an identifier for the type of Subject the memory refers to. /// </summary> public static ushort GetSubjectType(NgbhItem item) { return(GetSubjectType(item.Guid)); }
public bool Contains(NgbhItem item) { return(list.Contains(item)); }