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