public override bool CanPass(Core.Model.TimeEntryFilter filter, TreeItemSelectionFilter selectionFilter) { return(selectionFilter.HasCustomer(Customer)); }
public override bool CanPass(Core.Model.TimeEntryFilter filter, TreeItemSelectionFilter selectionFilter) { return(selectionFilter.HasProject(Project) && !(filter != null && filter.HideEmptyProjects && !Children.Any(x => x.CanPass(filter, selectionFilter)))); }