Exemplo n.º 1
0
        public void Add(ScoreDocument doc)
        {
            _isUpdating = true;
              var historyEntry = new HistoryEntry(doc);
              foreach (var olderEntry in History.Where(e => e.Title == historyEntry.Title).ToList())
              {
            History.Remove(olderEntry);
              }

              History.Add(historyEntry);
              _isUpdating = false;

              SaveHistory();
        }
Exemplo n.º 2
0
 public void Remove(HistoryEntry historyEntry)
 {
     History.Remove(historyEntry);
 }