private bool FilterColors(ThemeColor color) { if (Filter.IsNullOrEmpty()) { return(true); } return(Regex.IsMatch(color.Name, Filter, RegexOptions.IgnoreCase)); }
private bool FilterColors(ThemeColor color) { if (Filter.IsNullOrEmpty()) { return(true); } return(Regex.IsMatch(color.Name, Filter, RegexOptions.IgnoreCase)); }