public void Remove(int address) { SingleEntry en = _entries.Where(x => x.Address == address).Single(); if (en != null) { _entries.Remove(en); } }
public void Add(int address, object value, object PrevVal, Type t) { SingleEntry en = new SingleEntry(); en.Address = address; en.Value = value; en.ValueType = t; en.PrevValue = PrevVal; _entries.Add(en); }