1 implementation of ITargetFramework
NuGet.Build.Tasks.Console (1)
TargetFrameworkAdapter.cs (1)
10internal class TargetFrameworkAdapter : ITargetFramework
36 references to ITargetFramework
NuGet.Build.Tasks.Console (6)
MSBuildStaticGraphRestore.cs (2)
583/// <param name="project">The <see cref="ITargetFramework" /> representing the project.</param> 633internal static string GetRestoreOutputPath(ITargetFramework outerBuild, string projectDirectory)
RestoreProjectAdapter.cs (4)
29public ITargetFramework OuterBuild { get; private set; } 31public IReadOnlyDictionary<string, ITargetFramework> TargetFrameworks => _targetFrameworks; 35private ConcurrentDictionary<string, ITargetFramework> _targetFrameworks; 37internal void AddTargetFramework(string targetFramework, ITargetFramework targetFrameworkInstance)
NuGet.Commands (30)
RestoreCommand\IProject.cs (2)
25public ITargetFramework OuterBuild { get; } 30public IReadOnlyDictionary<string, ITargetFramework> TargetFrameworks { get; }
RestoreCommand\Utility\PackageSpecFactory.cs (28)
83/// <param name="project">The <see cref="ITargetFramework" /> representing the project.</param> 85internal static NuGetVersion GetProjectVersion(ITargetFramework project) 100/// <param name="project">The <see cref="ITargetFramework" /> representing the project.</param> 102internal static NuGetVersion? GetSdkVersion(ITargetFramework project) 122ITargetFramework outerBuild = project.OuterBuild; 226var msBuildProjectInstance = projectInnerNode.Value; 335/// <param name="project">The <see cref="ITargetFramework" /> representing the project.</param> 337internal static bool IsLegacyProject(ITargetFramework project) 491/// <param name="project">The <see cref="ITargetFramework" /> to get the central package management settings from.</param> 495GetCentralPackageManagementSettings(ITargetFramework project, ProjectStyle projectStyle) 517private static string GetProjectName(ITargetFramework project) 571internal static List<ProjectRestoreMetadataFrameworkInfo> GetProjectRestoreMetadataFrameworkInfos(List<TargetFrameworkInformation> targetFrameworkInfos, IReadOnlyDictionary<string, ITargetFramework> projects) 577var project = projects[targetFrameworkInfo.TargetAlias]; 591/// <param name="project">The <see cref="ITargetFramework" /> to get project references for.</param> 593internal static List<ProjectRestoreReference> GetProjectReferences(ITargetFramework project) 626internal static ImmutableArray<LibraryDependency> GetPackageReferences(ITargetFramework project, bool isCentralPackageVersionManagementEnabled, IReadOnlyDictionary<string, CentralPackageVersion>? centralPackageVersions) 679internal static Dictionary<string, PrunePackageReference> GetPrunePackageReferences(ITargetFramework project) 697/// <param name="project">The <see cref="ITargetFramework" /> to get package downloads for.</param> 699internal static IEnumerable<DownloadDependency> GetPackageDownloads(ITargetFramework project) 731/// <param name="project">The <see cref="ITargetFramework" /> to get framework references for.</param> 733internal static IReadOnlyCollection<FrameworkDependency>? GetFrameworkReferences(ITargetFramework project) 808private static Dictionary<string, CentralPackageVersion> GetCentralPackageVersions(ITargetFramework project) 895private static HashSet<string>? GetAuditSuppressions(ITargetFramework project) 910private static IEnumerable<IItem> GetDistinctItemsOrEmpty(ITargetFramework project, string itemName) 927internal static bool IsPropertyTrue(this ITargetFramework project, string propertyName, bool defaultValue = false) 939internal static bool IsPropertyFalse(this ITargetFramework project, string propertyName, bool defaultValue = false) 966/// <param name="project">The <see cref="ITargetFramework" /> to get the property value from.</param> 969private static string[]? SplitPropertyValueOrNull(this ITargetFramework project, string name)