public ClassPredicate(IClassCollector classCollector, bool negate, bool not, IClassCollectionFactory classCollectionFactory) { _classCollector = classCollector; _negate = negate; _not = not; _classCollectionFactory = classCollectionFactory; }
public IClassCollection Create(IClassCollector classCollector, bool negate, bool not) { var classes = classCollector.Get(); var classFilter = new FilteredClasses(classes); var result = new ClassCondition(classFilter, negate); return(not ? result.Not() : result); }
public ClassPredicate(IClassCollector classCollector, bool negate, bool not) : this(classCollector, negate, not, new ClassCollectionFactory()) { }
public CSharpCallgraphWalker(IMethodCollector methodCollector, IClassCollector classCollector, ICSharpMethodAnalyzer methodAnalyzer) : base(SyntaxWalkerDepth.Node) { this.MethodCollector = methodCollector; this.ClassCollector = classCollector; this.MethodAnalyzer = methodAnalyzer; }