Ejemplo n.º 1
0
 public IEnumerable <Tag> Apply(IEnumerable <Tag> tags)
 {
     foreach (var tag in tags)
     {
         if (selector.Apply(new[] { tag }).Count() == 0)
         {
             yield return(tag);
         }
     }
 }
 public IEnumerable <Tag> Apply(IEnumerable <Tag> tags)
 {
     tags = selector.Apply(tags);
     return(filters.Aggregate(tags, (t, filter) => filter.Apply(t)));
 }