8 instantiations of RuntimeAssetGroup
installer.tasks (2)
GenerateTestSharedFrameworkDepsFile.cs (2)
67
runtimeAssemblyGroups: new[] { new
RuntimeAssetGroup
(string.Empty, managedFileNames.Select(f => $"runtimes/{rid}/lib/{tfm}/{f}")) },
68
nativeLibraryGroups: new[] { new
RuntimeAssetGroup
(string.Empty, nativeFileNames.Select(f => $"runtimes/{rid}/native/{f}")) },
Microsoft.DotNet.SharedFramework.Sdk (2)
src\GenerateSharedFrameworkDepsFile.cs (2)
88
runtimeAssemblyGroups: new[] { new
RuntimeAssetGroup
(string.Empty, runtimeFiles) },
89
nativeLibraryGroups: new[] { new
RuntimeAssetGroup
(string.Empty, nativeFiles) },
Microsoft.Extensions.DependencyModel (4)
DependencyContextJsonReader.cs (4)
794
runtimeAssemblyGroups.Add(new
RuntimeAssetGroup
(
806
nativeLibraryGroups.Add(new
RuntimeAssetGroup
(
815
runtimeAssemblyGroups.Add(new
RuntimeAssetGroup
(string.Empty, targetLibrary.Runtimes));
820
nativeLibraryGroups.Add(new
RuntimeAssetGroup
(string.Empty, targetLibrary.Natives));
35 references to RuntimeAssetGroup
dotnet-svcutil-lib (1)
Shared\MSBuildProj.cs (1)
925
foreach (
var
assemblyGroup in rtLib.RuntimeAssemblyGroups)
Microsoft.Extensions.DependencyModel (34)
CollectionExtensions.cs (14)
11
public static
RuntimeAssetGroup
? GetDefaultGroup(this IEnumerable<
RuntimeAssetGroup
> self) => GetGroup(self, string.Empty);
13
public static
RuntimeAssetGroup
? GetRuntimeGroup(this IEnumerable<
RuntimeAssetGroup
> self, string runtime)
22
private static
RuntimeAssetGroup
? GetGroup(IEnumerable<
RuntimeAssetGroup
> groups, string runtime)
27
public static IEnumerable<string> GetDefaultAssets(this IEnumerable<
RuntimeAssetGroup
> self) => GetAssets(self, string.Empty);
28
public static IEnumerable<string> GetRuntimeAssets(this IEnumerable<
RuntimeAssetGroup
> self, string runtime)
37
private static IEnumerable<string> GetAssets(IEnumerable<
RuntimeAssetGroup
> groups, string runtime)
39
foreach (
RuntimeAssetGroup
group in groups)
51
public static IEnumerable<RuntimeFile> GetDefaultRuntimeFileAssets(this IEnumerable<
RuntimeAssetGroup
> self) => GetRuntimeFiles(self, string.Empty);
52
public static IEnumerable<RuntimeFile> GetRuntimeFileAssets(this IEnumerable<
RuntimeAssetGroup
> self, string runtime)
61
private static IEnumerable<RuntimeFile> GetRuntimeFiles(IEnumerable<
RuntimeAssetGroup
> groups, string runtime)
63
foreach (
RuntimeAssetGroup
group in groups)
DependencyContextExtensions.cs (6)
129
IEnumerable<
RuntimeAssetGroup
> assets)
139
IEnumerable<
RuntimeAssetGroup
> assets)
146
private static IEnumerable<string> SelectAssets(IEnumerable<string?> rids, IEnumerable<
RuntimeAssetGroup
> groups)
150
RuntimeAssetGroup
? group = groups.FirstOrDefault(g => g.Runtime == rid);
161
private static IEnumerable<RuntimeFile> SelectRuntimeFiles(IEnumerable<string?> rids, IEnumerable<
RuntimeAssetGroup
> groups)
165
RuntimeAssetGroup
? group = groups.FirstOrDefault(g => g.Runtime == rid);
DependencyContextJsonReader.cs (2)
781
var runtimeAssemblyGroups = new List<
RuntimeAssetGroup
>();
782
var nativeLibraryGroups = new List<
RuntimeAssetGroup
>();
DependencyContextWriter.cs (4)
186
private static void AddAssets(string key,
RuntimeAssetGroup
? group, Utf8JsonWriter jsonWriter)
306
private static bool AddRuntimeSpecificAssetGroups(string assetType, IEnumerable<
RuntimeAssetGroup
> assetGroups, bool wroteObjectStart, Utf8JsonWriter jsonWriter)
308
using IEnumerator<
RuntimeAssetGroup
> groups = assetGroups.Where(g => !string.IsNullOrEmpty(g.Runtime)).GetEnumerator();
320
RuntimeAssetGroup
group = groups.Current;
RuntimeLibrary.cs (8)
16
IReadOnlyList<
RuntimeAssetGroup
> runtimeAssemblyGroups,
17
IReadOnlyList<
RuntimeAssetGroup
> nativeLibraryGroups,
39
IReadOnlyList<
RuntimeAssetGroup
> runtimeAssemblyGroups,
40
IReadOnlyList<
RuntimeAssetGroup
> nativeLibraryGroups,
90
IReadOnlyList<
RuntimeAssetGroup
> runtimeAssemblyGroups,
91
IReadOnlyList<
RuntimeAssetGroup
> nativeLibraryGroups,
117
public IReadOnlyList<
RuntimeAssetGroup
> RuntimeAssemblyGroups { get; }
119
public IReadOnlyList<
RuntimeAssetGroup
> NativeLibraryGroups { get; }