1 implementation of IProject
NuGet.Build.Tasks.Console (1)
RestoreProjectAdapter.cs (1)
14internal class RestoreProjectAdapter : IProject
21 references to IProject
NuGet.Commands (21)
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 (18)
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) 197static (ProjectStyle, string? packagesConfigPath) GetProjectStyle(IProject project) 221internal static List<TargetFrameworkInformation> GetTargetFrameworkInfos(IProject project, bool isCpvmEnabled, bool isPruningEnabledGlobally) 280private static bool GetPackagePruningDefault(IProject project) 292private static bool GetRestoreEnableAnalyzerAssets(IProject project) 305private static RestoreAuditProperties? GetRestoreAuditProperties(IProject project) 330string? GetAuditMode(IProject project) 462internal static string GetPackagesPath(IProject project, ISettings settings) 796private static string GetRepositoryPath(IProject project, ISettings settings) 842/// <param name="project">An <see cref="IProject" /> representing the project..</param> 845internal static List<PackageSource> GetSources(IProject project, ISettings settings) 932/// <param name="project">The <see cref="IProject" /> representing the project.</param> 934internal static string? GetRestoreOutputPath(IProject project) 993/// <param name="project">The <see cref="IProject" /> to get the global property value from.</param> 996private static string[]? SplitGlobalPropertyValueOrNull(this IProject project, string name)