コード例 #1
0
        List <DependencyRelation> FindDependencyRelations(CodeItem item)
        {
            var extension        = item.GetExtension <CompilationUnitExtension>();
            var dependencyFinder = new DependencyFinder();

            extension.CompilationUnit.AcceptVisitor(dependencyFinder, null);
            return(dependencyFinder.DependencyRelations);
        }
コード例 #2
0
 List<DependencyRelation> FindDependencyRelations(CodeItem item)
 {
     var extension = item.GetExtension<CompilationUnitExtension>();
     var dependencyFinder = new DependencyFinder();
     extension.CompilationUnit.AcceptVisitor(dependencyFinder, null);
     return dependencyFinder.DependencyRelations;
 }