public int MinItemSize = 1024; // bytes public CrawlSettings( [NotNull] string filename, [NotNull] string caption, [NotNull] Action rootsCollector, CrawlOrder order) { Filename = filename; Caption = caption; RootsCollector = rootsCollector; Order = order; }
public CrawlSettings AddRootsGroup( [NotNull] string filename, [NotNull] string caption, CrawlOrder order, params object[] roots) { var crawlSettings = new CrawlSettings(filename, caption, () => CollectRoots(roots), order); crawlOrder.Add(crawlSettings); return(crawlSettings); }
public CrawlSettings AddUnityRootsGroup <T>( [NotNull] string filename, [NotNull] string caption, CrawlOrder order) { var crawlSettings = new CrawlSettings(filename, caption, () => CollectUnityObjects(typeof(T)), order) { IncludeAllUnityTypes = true }; crawlOrder.Add(crawlSettings); return(crawlSettings); }