Exemple #1
0
 public void TakeSnapshot(string name)
 {
     Values.Add(Board.CopyValues());
     Notes.Add(Board.CopyNotes());
     ExcludedValues.Add(Board.CopyExcludedValues());
     Snapshots.Add(name);
 }
Exemple #2
0
        private void AddExcludedValues(ISet <string> excludedValues)
        {
            if (excludedValues == null)
            {
                throw new ArgumentNullException("excludedValues");
            }

            ExcludedValues.Clear();

            foreach (var merchant in excludedValues)
            {
                ExcludedValues.Add(merchant.ToLowerInvariant());
            }
        }