Пример #1
0
 private void FilterSecondary()
 {
     foreach (var item in EventOriginal)
     {
         foreach (var itemTag in EventTag.Where(x => x.SelectedTag))
         {
             if (item.Tag.Contains(itemTag.Tag))
             {
                 if (!EventFilter.Any(x => x.Id == item.Id))
                 {
                     EventFilter.Add(item);
                 }
             }
         }
     }
 }