Exemple #1
0
        public void Delete(ClipboardItem item)
        {
            var del = (from i in _history
                       where i.Saved == item.Saved &&
                       i.Text == item.Text
                       select i).FirstOrDefault();

            if (del != null)
            {
                _history.Remove(del);
            }
        }
Exemple #2
0
 public void Add(ClipboardItem item)
 {
     _history.Add(item);
 }