using System.Collections.Generic; namespace Semmle.Extraction.CSharp.DependencyFetching { internal interface IDotNet { bool RestoreProjectToDirectory(string project, string directory, out string stdout, string? pathToNugetConfig = null); bool RestoreSolutionToDirectory(string solutionFile, string packageDirectory, out IEnumerable projects); bool New(string folder); bool AddPackage(string folder, string package); IList GetListedRuntimes(); IList GetListedSdks(); bool Exec(string execArgs); } }