5 instantiations of RuntimeDependencySet
Microsoft.DotNet.Build.Tasks.Packaging (1)
GenerateRuntimeDependencies.cs (1)
124
runtimeDependencySets.Add(new
RuntimeDependencySet
(targetPackageId, runtimePackageDependencies));
NuGet.Packaging (3)
RuntimeModel\JsonRuntimeFormat.cs (3)
195
return new
RuntimeDependencySet
(dependencySetId);
218
return new
RuntimeDependencySet
(dependencySetId, dependencies);
568
return new
RuntimeDependencySet
(
NuGet.ProjectModel (1)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
1215
return new
RuntimeDependencySet
(
27 references to RuntimeDependencySet
Microsoft.DotNet.Build.Tasks.Packaging (2)
GenerateRuntimeDependencies.cs (2)
109
List<
RuntimeDependencySet
> runtimeDependencySets = new List<
RuntimeDependencySet
>();
NuGet.Packaging (22)
RuntimeModel\JsonRuntimeFormat.cs (8)
152
List<
RuntimeDependencySet
> dependencySets = [];
170
RuntimeDependencySet
? dependencySet = ReadRuntimeDependencySet(ref reader, propertyName);
188
private static
RuntimeDependencySet
? ReadRuntimeDependencySet(
457
foreach (
var
set in sortedDependencySets)
465
private static void WriteRuntimeDependencySet(IObjectWriter writer,
RuntimeDependencySet
data)
544
List<
RuntimeDependencySet
>? additionalDependencies = null;
558
var
dependency = ReadRuntimeDependencySet(property);
566
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)
1198
private static
RuntimeDependencySet
ReadRuntimeDependencySet(ref Utf8JsonStreamReader jsonReader, string dependencySetName)
1223
List<
RuntimeDependencySet
> additionalDependencies = null;
1239
RuntimeDependencySet
dependency = ReadRuntimeDependencySet(ref jsonReader, propertyName);