public void TakeSnapshot(string name) { Values.Add(Board.CopyValues()); Notes.Add(Board.CopyNotes()); ExcludedValues.Add(Board.CopyExcludedValues()); Snapshots.Add(name); }
private void AddExcludedValues(ISet <string> excludedValues) { if (excludedValues == null) { throw new ArgumentNullException("excludedValues"); } ExcludedValues.Clear(); foreach (var merchant in excludedValues) { ExcludedValues.Add(merchant.ToLowerInvariant()); } }