Exemplo n.º 1
0
 public static CompositeBlockFilter Exclude(this CompositeBlockFilter filter, params Foreground.Id[] ids)
 {
     return(new CompositeBlockFilter(filter, (id, p) => !ids.Contains(id), (id, p) => true));
 }
Exemplo n.º 2
0
 public static CompositeBlockFilter ExcludeEmpty(this CompositeBlockFilter filter)
 {
     return(new CompositeBlockFilter(filter, (id, p) => id != Foreground.Empty, (id, p) => id != Background.Empty));
 }