Exemplo n.º 1
0
 public ClassPredicate(IClassCollector classCollector, bool negate, bool not, IClassCollectionFactory classCollectionFactory)
 {
     _classCollector         = classCollector;
     _negate                 = negate;
     _not                    = not;
     _classCollectionFactory = classCollectionFactory;
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 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;
 }