2 instantiations of FrameworkRuntimeDefinition
NuGet.Commands (2)
RestoreCommand\RestoreCommand.cs (2)
2267
projectFrameworkRuntimePairs.Add(new
FrameworkRuntimeDefinition
(framework.TargetAlias, framework.FrameworkName, null));
2274
projectFrameworkRuntimePairs.Add(new
FrameworkRuntimeDefinition
(framework.TargetAlias, framework.FrameworkName, runtimeId));
14 references to FrameworkRuntimeDefinition
NuGet.Commands (14)
RestoreCommand\DependencyGraphResolver.cs (8)
150
List<
FrameworkRuntimeDefinition
> frameworkRuntimeDefinitions = RestoreCommand.CreateFrameworkRuntimeDefinitions(_request.Project, runtimeIds: RequestRuntimeUtility.GetRestoreRuntimes(_request));
154
foreach (
FrameworkRuntimeDefinition
frameworkRuntimeDefinition in frameworkRuntimeDefinitions.NoAllocEnumerate())
301
/// <param name="frameworkRuntimeDefinition">The <see cref="
FrameworkRuntimeDefinition
" /> of the dependency graph.</param>
314
FrameworkRuntimeDefinition
frameworkRuntimeDefinition,
910
FrameworkRuntimeDefinition
pair,
1423
/// <param name="frameworkRuntimeDefinition">The <see cref="
FrameworkRuntimeDefinition
" /> representing the current target framework and runtime identifier for which to get a runtime graph.</param>
1425
/// <param name="runtimeGraph">Receives the <see cref="RuntimeGraph" /> for the <see cref="
FrameworkRuntimeDefinition
" /> if one was found, otherwise <see langword="null" />.</param>
1427
private bool TryGetRuntimeGraph(List<NuGetv3LocalRepository> localRepositories, Dictionary<string, RestoreTargetGraph> graphsByTargetAlias,
FrameworkRuntimeDefinition
frameworkRuntimeDefinition, TargetFrameworkInformation? projectTargetFramework, [NotNullWhen(true)] out RuntimeGraph? runtimeGraph)
RestoreCommand\RestoreCommand.cs (6)
1866
foreach (
var
frameworkRuntimeDefinition in projectFrameworkRuntimePairs)
1908
foreach (
FrameworkRuntimeDefinition
frameworkRuntimePair in CreateFrameworkRuntimeDefinitions(_request.Project, RequestRuntimeUtility.GetRestoreRuntimes(_request)))
2074
foreach (
FrameworkRuntimeDefinition
frameworkRuntimePair in CreateFrameworkRuntimeDefinitions(_request.Project, RequestRuntimeUtility.GetRestoreRuntimes(_request)))
2258
/// <returns>A <see cref="List{T}" /> containing <see cref="
FrameworkRuntimeDefinition
" /> objects with the frameworks with empty runtime identifiers followed by frameworks with the specified runtime identifiers.</returns>
2259
internal static List<
FrameworkRuntimeDefinition
> CreateFrameworkRuntimeDefinitions(PackageSpec packageSpec, ISet<string> runtimeIds)
2262
List<
FrameworkRuntimeDefinition
> projectFrameworkRuntimePairs = new(capacity: packageSpec.TargetFrameworks.Count * (runtimeIds.Count + 1));