Exemplo n.º 1
0
 private IResourceFilter ToFilter(Predicate <IResource> predicate)
 {
     return(ResourceFilters.Predicate(predicate));
 }
Exemplo n.º 2
0
 public static IEnumerable <IResource> Exclude(this IEnumerable <IResource> resources, IResourceFilter excludeFilter)
 {
     return(resources.Where(ResourceFilters.Not(excludeFilter)));
 }