public TreeNetIndexer(IndexerAdapter settings) : base(settings) { mSettings = new IndexerAdapter(); mSettings = settings; mFilter = new FilterHelper(mSettings); }
public List<TreeFile> GetFilesColl(IndexerAdapter settings) { List<TreeFile> files = new List<TreeFile>(); files.AddRange(GetFilesColl()); FilterHelper filter = new FilterHelper(settings); foreach (TreeFile f in GetFilesColl()) { if (filter.IsBannedFile(f.GetFilePath())) { files.Remove(f); } } return files; }