2using System.Collections.Generic;
41 public List<FilterItem>
tags =
new List<FilterItem>();
43 public List<FilterItem>
filters =
new List<FilterItem>();
45 public List<FilterCategory>
categories =
new List<FilterCategory>();
65 return source.
tag.Contains(str);
75 foreach (
string text
in array)
77 bool flag = text.StartsWith(
'-');
105 for (
int i = 0; i <
tags.Count; i++)
136 for (
int j = 0; j <
filters.Count; j++)
150 else if (!source.
filter.Contains(filterItem2.
name))
185 public void BuildList(List<FilterItem> list,
string[] strs)
191 foreach (
string text
in strs)
193 if (text.Length != 0)
200 filterItem.supersede =
true;
201 filterItem.name = text.Substring(1);
204 filterItem.exclude =
true;
205 filterItem.name = text.Substring(1);
208 filterItem.name = text;
211 list.Add(filterItem);
List< FilterCategory > categories
virtual bool _ShouldPass(CardRow source)
List< FilterItem > filters
void BuildList(List< FilterItem > list, string[] strs)
virtual bool ContainsTag(CardRow source, string str)
List< SourceCategory.Row > categoriesInclude
override string ToString()
bool Pass(CardRow source)
static SourceManager sources
SourceCategory categories