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