3 instantiations of RuntimeDependencySet
Microsoft.DotNet.Build.Tasks.Packaging (1)
GenerateRuntimeDependencies.cs (1)
123
runtimeDependencySets.Add(new
RuntimeDependencySet
(targetPackageId, runtimePackageDependencies));
NuGet.Packaging (1)
RuntimeModel\JsonRuntimeFormat.cs (1)
225
return new
RuntimeDependencySet
(
NuGet.ProjectModel (1)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
1208
return new
RuntimeDependencySet
(
24 references to RuntimeDependencySet
Microsoft.DotNet.Build.Tasks.Packaging (2)
GenerateRuntimeDependencies.cs (2)
108
List<
RuntimeDependencySet
> runtimeDependencySets = new List<
RuntimeDependencySet
>();
NuGet.Packaging (19)
RuntimeModel\JsonRuntimeFormat.cs (5)
114
foreach (
var
set in sortedDependencySets)
122
private static void WriteRuntimeDependencySet(IObjectWriter writer,
RuntimeDependencySet
data)
201
List<
RuntimeDependencySet
>? additionalDependencies = null;
215
var
dependency = ReadRuntimeDependencySet(property);
223
private static
RuntimeDependencySet
ReadRuntimeDependencySet(KeyValuePair<string, JToken> json)
RuntimeModel\RuntimeDependencySet.cs (3)
14
public sealed class RuntimeDependencySet : IEquatable<
RuntimeDependencySet
>
44
public bool Equals(
RuntimeDependencySet
? other)
62
return Equals(obj as
RuntimeDependencySet
);
RuntimeModel\RuntimeDescription.cs (10)
16
private static readonly IReadOnlyDictionary<string,
RuntimeDependencySet
> EmptyRuntimeDependencySets = new Dictionary<string,
RuntimeDependencySet
>();
23
/// RID specific package dependencies, keyed by <see cref="
RuntimeDependencySet
.Id"/>.
25
public IReadOnlyDictionary<string,
RuntimeDependencySet
> RuntimeDependencySets { get; }
37
public RuntimeDescription(string runtimeIdentifier, IEnumerable<
RuntimeDependencySet
>? runtimeDependencySets)
42
public RuntimeDescription(string runtimeIdentifier, IEnumerable<string>? inheritedRuntimes, IEnumerable<
RuntimeDependencySet
>? runtimeDependencySets)
50
private RuntimeDescription(string runtimeIdentifier, IReadOnlyList<string>? inheritedRuntimes, IReadOnlyDictionary<string,
RuntimeDependencySet
>? runtimeDependencySets)
101
var newSets = new Dictionary<string,
RuntimeDependencySet
>(StringComparer.OrdinalIgnoreCase);
102
foreach (
var
dependencySet in left.RuntimeDependencySets.Values)
108
foreach (
var
dependencySet in right.RuntimeDependencySets.Values)
RuntimeModel\RuntimeGraph.cs (1)
288
if (runtimeDescription.RuntimeDependencySets.TryGetValue(key.PackageId, out
var
dependencySet))
NuGet.ProjectModel (3)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (3)
1191
private static
RuntimeDependencySet
ReadRuntimeDependencySet(ref Utf8JsonStreamReader jsonReader, string dependencySetName)
1216
List<
RuntimeDependencySet
> additionalDependencies = null;
1232
RuntimeDependencySet
dependency = ReadRuntimeDependencySet(ref jsonReader, propertyName);