code: @Override
      protected ResolutionResult resolveDependencies(String projectFolder, String topLevelFolder, Set<String> csprojFiles) {
          if (this.nugetRestoreDependencies) {
              this.resolveCollector.executeRestore(projectFolder, csprojFiles);
              Collection<AgentProjectInfo> projects = this.resolveCollector.collectDependencies(projectFolder);
              Collection<DependencyInfo> dependencies = projects.stream().flatMap(project -> project.getDependencies().stream()).collect(Collectors.toList());
              dependencies.addAll(parseNugetPackageFiles(csprojFiles, true));
              return new ResolutionResult(dependencies, new LinkedList<>(), getDependencyType(), topLevelFolder);
          } else {
              return getResolutionResultFromParsing(topLevelFolder, csprojFiles, false);
          }
      }
docs: /* --- Overridden methods ---