Exemplo n.º 1
0
 List<ValueObjectDescriptor> FindValueObjects(CodeItem item)
 {
     var e = item.GetExtension<CompilationUnitExtension>();
     var visitor = new ValueObjectFinder();
     e.CompilationUnit.AcceptVisitor(visitor, null);
     return visitor.ValueObjectInfos;
 }
Exemplo n.º 2
0
        List <ValueObjectDescriptor> FindValueObjects(CodeItem item)
        {
            var e       = item.GetExtension <CompilationUnitExtension>();
            var visitor = new ValueObjectFinder();

            e.CompilationUnit.AcceptVisitor(visitor, null);
            return(visitor.ValueObjectInfos);
        }
        List <DependencyRelation> FindDependencyRelations(CodeItem item)
        {
            var extension        = item.GetExtension <CompilationUnitExtension>();
            var dependencyFinder = new DependencyFinder();

            extension.CompilationUnit.AcceptVisitor(dependencyFinder, null);
            return(dependencyFinder.DependencyRelations);
        }
 List<DependencyRelation> FindDependencyRelations(CodeItem item)
 {
     var extension = item.GetExtension<CompilationUnitExtension>();
     var dependencyFinder = new DependencyFinder();
     extension.CompilationUnit.AcceptVisitor(dependencyFinder, null);
     return dependencyFinder.DependencyRelations;
 }