Пример #1
0
 public void AddFilterItem(string key, IEnumerable <FilterItem> items)
 {
     if (filterCollection.ContainsKey(key))
     {
         filterCollection[key].AddRange(items);
     }
     else
     {
         var filterItemList = new FilterItemList();
         filterItemList.AddRange(items);
         filterCollection.Add(key, filterItemList);
     }
 }