1 implementation of IProject
NuGet.Build.Tasks.Console (1)
RestoreProjectAdapter.cs (1)
14internal class RestoreProjectAdapter : IProject
20 references to IProject
NuGet.Commands (20)
RestoreCommand\IItem.cs (1)
9/// <remarks>See <see cref="IProject"/> for context on why this abstraction exists.</remarks>
RestoreCommand\IProject.cs (1)
11/// <see cref="MSBuildRestoreUtility.GetPackageSpec(IProject)"/> to be shared across all restore entry points.
RestoreCommand\ITargetFramework.cs (1)
12/// <remarks>See <see cref="IProject"/> for more context why this abstraction exists.</remarks>
RestoreCommand\Utility\PackageSpecFactory.cs (17)
25/// This class provides a single implementation of creating a <see cref="PackageSpec"/> from an <see cref="IProject"/>, 45public static PackageSpec? GetPackageSpec(IProject project, ISettings settings) 117/// <param name="project">An <see cref="IProject" /> representing the project.</param> 120private static (ProjectRestoreMetadata? RestoreMetadata, List<TargetFrameworkInformation>? TargetFrameworkInfos) GetProjectRestoreMetadataAndTargetFrameworkInformation(IProject project, ISettings settings) 196static (ProjectStyle, string? packagesConfigPath) GetProjectStyle(IProject project) 220internal static List<TargetFrameworkInformation> GetTargetFrameworkInfos(IProject project, bool isCpvmEnabled, bool isPruningEnabledGlobally) 279private static bool GetPackagePruningDefault(IProject project) 291private static RestoreAuditProperties? GetRestoreAuditProperties(IProject project) 316string? GetAuditMode(IProject project) 448internal static string GetPackagesPath(IProject project, ISettings settings) 782private static string GetRepositoryPath(IProject project, ISettings settings) 828/// <param name="project">An <see cref="IProject" /> representing the project..</param> 831internal static List<PackageSource> GetSources(IProject project, ISettings settings) 918/// <param name="project">The <see cref="IProject" /> representing the project.</param> 920internal static string? GetRestoreOutputPath(IProject project) 979/// <param name="project">The <see cref="IProject" /> to get the global property value from.</param> 982private static string[]? SplitGlobalPropertyValueOrNull(this IProject project, string name)