void ClearAllFilters() { if (Filter.ShowAll && HandHistoriesViewModel != null) { HandHistoriesViewModel.ApplyFilter(_alwaysTrueCondition); } }
void FilterOutHandHistoriesWhereHeroDidNotSeeTheFlop() { if (Filter.ShowSawFlop && HandHistoriesViewModel != null) { _sawFlopCondition.AppliesTo(Filter.HeroName); HandHistoriesViewModel.ApplyFilter(_sawFlopCondition); } }
void FilterOutHandHistoriesWhereHeroDidNotInvestMoney() { if (Filter.ShowMoneyInvested && HandHistoriesViewModel != null) { _investedMoneyCondition.AppliesTo(Filter.HeroName); HandHistoriesViewModel.ApplyFilter(_investedMoneyCondition); } }