code: @Override
      protected ResolutionResult resolveDependencies(String projectFolder, String topLevelFolder, Set<String> configFiles) {
          if (this.nugetConfigFileType == NugetConfigFileType.CONFIG_FILE_TYPE && this.runPreStep) {
              logger.debug("Trying to run pre step on packages.config files");
              NugetRestoreCollector nugetRestoreCollector = new NugetRestoreCollector();
              nugetRestoreCollector.executeRestore(projectFolder, configFiles);
              Collection<AgentProjectInfo> projects = nugetRestoreCollector.collectDependencies(projectFolder);
              Collection<DependencyInfo> dependencies = projects.stream().flatMap(project -> project.getDependencies().stream()).collect(Collectors.toList());
              return new ResolutionResult(dependencies, getExcludes(), getDependencyType(), topLevelFolder);
          } else {
              return getResolutionResultFromParsing(topLevelFolder, configFiles, false);
          }
      }
docs: /* --- Overridden methods ---