Example #1
0
        public virtual void RemoveSelection(string group, string key)
        {
            FilterSelection fs = new FilterSelection {
                Group = group, Key = key
            };

            if (Selections.Contains(fs))
            {
                Selections.Remove(fs);
            }
        }
Example #2
0
        public virtual void AddSelection(string group, string key)
        {
            FilterSelection fs = new FilterSelection {
                Group = group, Key = key
            };

            if (!Selections.Contains(fs))
            {
                Selections.Add(fs);
            }
        }