1 implementation of ITargetFramework
NuGet.Build.Tasks.Console (1)
TargetFrameworkAdapter.cs (1)
10internal class TargetFrameworkAdapter : ITargetFramework
35 references to ITargetFramework
NuGet.Build.Tasks.Console (5)
MSBuildStaticGraphRestore.cs (1)
573/// <param name="project">The <see cref="ITargetFramework" /> representing the project.</param>
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)
241/// <param name="project">The <see cref="ITargetFramework" /> representing the project.</param> 243internal static NuGetVersion GetProjectVersion(ITargetFramework project) 258/// <param name="project">The <see cref="ITargetFramework" /> representing the project.</param> 260internal static NuGetVersion? GetSdkVersion(ITargetFramework project) 279ITargetFramework outerBuild = project.OuterBuild; 385var msBuildProjectInstance = projectInnerNode.Value; 494/// <param name="project">The <see cref="ITargetFramework" /> representing the project.</param> 496internal static bool IsLegacyProject(ITargetFramework project) 646/// <param name="project">The <see cref="ITargetFramework" /> to get the central package management settings from.</param> 650GetCentralPackageManagementSettings(ITargetFramework project, ProjectStyle projectStyle) 672private static string GetProjectName(ITargetFramework project) 726internal static List<ProjectRestoreMetadataFrameworkInfo> GetProjectRestoreMetadataFrameworkInfos(List<TargetFrameworkInformation> targetFrameworkInfos, IReadOnlyDictionary<string, ITargetFramework> projects) 732var project = projects[targetFrameworkInfo.TargetAlias]; 746/// <param name="project">The <see cref="ITargetFramework" /> to get project references for.</param> 748internal static List<ProjectRestoreReference> GetProjectReferences(ITargetFramework project) 781internal static ImmutableArray<LibraryDependency> GetPackageReferences(ITargetFramework project, bool isCentralPackageVersionManagementEnabled, IReadOnlyDictionary<string, CentralPackageVersion>? centralPackageVersions) 834internal static Dictionary<string, PrunePackageReference> GetPrunePackageReferences(ITargetFramework project) 852/// <param name="project">The <see cref="ITargetFramework" /> to get package downloads for.</param> 854internal static IEnumerable<DownloadDependency> GetPackageDownloads(ITargetFramework project) 886/// <param name="project">The <see cref="ITargetFramework" /> to get framework references for.</param> 888internal static IReadOnlyCollection<FrameworkDependency>? GetFrameworkReferences(ITargetFramework project) 961private static Dictionary<string, CentralPackageVersion> GetCentralPackageVersions(ITargetFramework project) 1057private static HashSet<string>? GetAuditSuppressions(ITargetFramework project) 1072private static IEnumerable<IItem> GetDistinctItemsOrEmpty(ITargetFramework project, string itemName) 1089internal static bool IsPropertyTrue(this ITargetFramework project, string propertyName, bool defaultValue = false) 1101internal static bool IsPropertyFalse(this ITargetFramework project, string propertyName, bool defaultValue = false) 1128/// <param name="project">The <see cref="ITargetFramework" /> to get the property value from.</param> 1131private static string[]? SplitPropertyValueOrNull(this ITargetFramework project, string name)