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