예제 #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();
        }
예제 #2
0
 public void Remove(HistoryEntry historyEntry)
 {
     History.Remove(historyEntry);
 }