1 interface inheriting from INuGetProjectContext
NuGet.PackageManagement (1)
Projects\IMSBuildNuGetProjectContext.cs (1)
6public interface IMSBuildNuGetProjectContext : INuGetProjectContext
2 implementations of INuGetProjectContext
NuGet.PackageManagement (2)
ConsoleProjectContext.cs (1)
14public class ConsoleProjectContext : INuGetProjectContext
EmptyNuGetProjectContext.cs (1)
13public class EmptyNuGetProjectContext : INuGetProjectContext
115 references to INuGetProjectContext
NuGet.PackageManagement (115)
BuildIntegration\BuildIntegratedRestoreUtility.cs (1)
31INuGetProjectContext projectContext,
IDE\IDeleteOnRestartManager.cs (2)
38INuGetProjectContext projectContext); 44Task DeleteMarkedPackageDirectoriesAsync(INuGetProjectContext projectContext);
IDE\IPackageRestoreManager.cs (2)
80INuGetProjectContext nuGetProjectContext, 102INuGetProjectContext nuGetProjectContext,
IDE\ISolutionManager.cs (1)
58INuGetProjectContext NuGetProjectContext { get; set; }
IDE\PackageRestoreManager.cs (8)
247INuGetProjectContext nuGetProjectContext, 287INuGetProjectContext nuGetProjectContext, 349INuGetProjectContext nuGetProjectContext, 447INuGetProjectContext nuGetProjectContext, 472INuGetProjectContext nuGetProjectContext, 505INuGetProjectContext nuGetProjectContext) 520INuGetProjectContext nuGetProjectContext, 582INuGetProjectContext nuGetProjectContext)
LoggerAdapter.cs (2)
17public INuGetProjectContext ProjectLogger { get; } 19public LoggerAdapter(INuGetProjectContext projectLogger)
NuGetPackageManager.cs (48)
220INuGetProjectContext nuGetProjectContext, 257INuGetProjectContext nuGetProjectContext, 280INuGetProjectContext nuGetProjectContext, IEnumerable<SourceRepository> primarySources, 316INuGetProjectContext nuGetProjectContext, 358INuGetProjectContext nuGetProjectContext, 381INuGetProjectContext nuGetProjectContext, 406INuGetProjectContext nuGetProjectContext, 443INuGetProjectContext nuGetProjectContext, 469INuGetProjectContext nuGetProjectContext, CancellationToken token) 489INuGetProjectContext nuGetProjectContext, 506INuGetProjectContext nuGetProjectContext, 563INuGetProjectContext nuGetProjectContext, 583INuGetProjectContext nuGetProjectContext, 603INuGetProjectContext nuGetProjectContext, 623INuGetProjectContext nuGetProjectContext, 644INuGetProjectContext nuGetProjectContext, 828INuGetProjectContext nuGetProjectContext, 1003INuGetProjectContext nuGetProjectContext, 1394INuGetProjectContext nuGetProjectContext, 1551ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, 1580INuGetProjectContext nuGetProjectContext, 1591INuGetProjectContext nuGetProjectContext, 1613INuGetProjectContext nuGetProjectContext, 1718INuGetProjectContext nuGetProjectContext, 1730INuGetProjectContext nuGetProjectContext, 2128INuGetProjectContext nuGetProjectContext, 2220INuGetProjectContext nuGetProjectContext, 2268UninstallationContext uninstallationContext, INuGetProjectContext nuGetProjectContext, CancellationToken token) 2309UninstallationContext uninstallationContext, INuGetProjectContext nuGetProjectContext, CancellationToken token) 2344UninstallationContext uninstallationContext, INuGetProjectContext nuGetProjectContext, CancellationToken token) 2406/// cref="PreviewInstallPackageAsync(IEnumerable{NuGetProject},string,ResolutionContext,INuGetProjectContext,SourceRepository,IEnumerable{SourceRepository},CancellationToken)" /> 2411INuGetProjectContext nuGetProjectContext, 2467/// cref="PreviewInstallPackageAsync(NuGetProject,string,ResolutionContext,INuGetProjectContext,SourceRepository,IEnumerable{SourceRepository},CancellationToken)" /> 2472INuGetProjectContext nuGetProjectContext, 2495/// cref="PreviewInstallPackageAsync(NuGetProject,string,ResolutionContext,INuGetProjectContext,SourceRepository,IEnumerable{SourceRepository},CancellationToken)" /> 2500INuGetProjectContext nuGetProjectContext, 2830INuGetProjectContext nuGetProjectContext, 2879INuGetProjectContext nuGetProjectContext, 3261INuGetProjectContext nuGetProjectContext, 3524INuGetProjectContext nuGetProjectContext, 3563private Task OpenReadmeFile(NuGetProject nuGetProject, INuGetProjectContext nuGetProjectContext, CancellationToken token) 3613INuGetProjectContext nuGetProjectContext, 3646public Task<bool> CopySatelliteFilesAsync(PackageIdentity packageIdentity, INuGetProjectContext nuGetProjectContext, CancellationToken token) 3669INuGetProjectContext nuGetProjectContext, 3681INuGetProjectContext nuGetProjectContext, CancellationToken token) 3740private async Task<bool> DeletePackageAsync(PackageIdentity packageIdentity, INuGetProjectContext nuGetProjectContext, CancellationToken token) 3940INuGetProjectContext nuGetProjectContext) 3954public static void ClearDirectInstall(INuGetProjectContext nuGetProjectContext)
ProjectContextLogger.cs (2)
14private readonly INuGetProjectContext _projectContext; 16public ProjectContextLogger(INuGetProjectContext projectContext)
Projects\BuildIntegratedNuGetProject.cs (2)
67INuGetProjectContext nuGetProjectContext, 74INuGetProjectContext nuGetProjectContext,
Projects\DefaultProjectServices.cs (2)
86INuGetProjectContext projectContext, 97INuGetProjectContext projectContext,
Projects\FolderNuGetProject.cs (5)
116INuGetProjectContext nuGetProjectContext, 240INuGetProjectContext nuGetProjectContext, 387INuGetProjectContext nuGetProjectContext, 567INuGetProjectContext nuGetProjectContext, 645private PackageSaveMode GetPackageSaveMode(INuGetProjectContext nuGetProjectContext)
Projects\IMSBuildProjectSystem.cs (1)
21INuGetProjectContext NuGetProjectContext { get; set; }
Projects\IProjectScriptHostService.cs (2)
30INuGetProjectContext projectContext, 46INuGetProjectContext projectContext,
Projects\MSBuildNuGetProject.cs (5)
130private static bool IsBindingRedirectsDisabled(INuGetProjectContext nuGetProjectContext) 136private static bool IsSkipAssemblyReferences(INuGetProjectContext nuGetProjectContext) 145INuGetProjectContext nuGetProjectContext, 417public override async Task<bool> UninstallPackageAsync(PackageIdentity packageIdentity, INuGetProjectContext nuGetProjectContext, CancellationToken token) 598public override Task PostProcessAsync(INuGetProjectContext nuGetProjectContext, CancellationToken token)
Projects\NuGetProject.cs (4)
45INuGetProjectContext nuGetProjectContext, 52public abstract Task<bool> UninstallPackageAsync(PackageIdentity packageIdentity, INuGetProjectContext nuGetProjectContext, CancellationToken token); 60public virtual Task PreProcessAsync(INuGetProjectContext nuGetProjectContext, CancellationToken token) 66public virtual Task PostProcessAsync(INuGetProjectContext nuGetProjectContext, CancellationToken token)
Projects\PackagesConfigNuGetProject.cs (2)
86INuGetProjectContext nuGetProjectContext, 186public override Task<bool> UninstallPackageAsync(PackageIdentity packageIdentity, INuGetProjectContext nuGetProjectContext, CancellationToken token)
Projects\ProjectJsonNuGetProject.cs (3)
264INuGetProjectContext nuGetProjectContext, 285INuGetProjectContext nuGetProjectContext, 299public override async Task<bool> UninstallPackageAsync(PackageIdentity packageIdentity, INuGetProjectContext nuGetProjectContext, CancellationToken token)
Resolution\GatherContext.cs (1)
76public INuGetProjectContext ProjectContext { get; set; }
SourceControl\SourceControlManager.cs (3)
36public abstract Stream CreateFile(string fullPath, INuGetProjectContext nuGetProjectContext); 44public abstract void PendAddFiles(IEnumerable<string> fullPaths, string root, INuGetProjectContext nuGetProjectContext); 50public abstract void PendDeleteFiles(IEnumerable<string> fullPaths, string root, INuGetProjectContext nuGetProjectContext);
SourceControl\SourceControlUtility.cs (2)
27public static SourceControlManager GetSourceControlManager(INuGetProjectContext nuGetProjectContext) 41public static bool IsPackagesFolderBoundToSourceControl(INuGetProjectContext nuGetProjectContext)
Utility\FileSystemUtility.cs (14)
49public static void AddFile(string root, string path, Stream stream, INuGetProjectContext nuGetProjectContext) 59public static void AddFile(string root, string path, Action<Stream> writeToStream, INuGetProjectContext nuGetProjectContext) 69private static void AddFileCore(string root, string path, Action<Stream> writeToStream, INuGetProjectContext nuGetProjectContext) 89private static void WriteAddedFileAndDirectory(string path, INuGetProjectContext nuGetProjectContext) 115public static Stream CreateFile(string root, string path, INuGetProjectContext nuGetProjectContext) 125public static Stream CreateFile(string fullPath, INuGetProjectContext nuGetProjectContext) 207public static void DeleteFile(string fullPath, INuGetProjectContext nuGetProjectContext) 243public static void DeleteFiles(IEnumerable<ZipFilePair> packageFiles, string packagesDir, INuGetProjectContext nuGetProjectContext) 374INuGetProjectContext nuGetProjectContext) 389public static void DeleteFileAndParentDirectoriesIfEmpty(string root, string filePath, INuGetProjectContext nuGetProjectContext) 412public static void DeleteDirectorySafe(string fullPath, bool recursive, INuGetProjectContext nuGetProjectContext) 417public static void DeleteDirectory(string fullPath, bool recursive, INuGetProjectContext nuGetProjectContext) 501internal static void DeleteFileSafe(string fullPath, INuGetProjectContext nuGetProjectContext) 507private static void DoSafeAction(Action action, INuGetProjectContext nuGetProjectContext)
Utility\MSBuildNuGetProjectSystemUtility.cs (1)
478private static void PerformSafeAction(Action action, INuGetProjectContext nuGetProjectContext)
Utility\XmlUtility.cs (2)
13public static XDocument GetOrCreateDocument(XName rootName, string root, string path, INuGetProjectContext nuGetProjectContext) 27public static XDocument CreateDocument(XName rootName, string root, string path, INuGetProjectContext nuGetProjectContext)