2 types derived from Library
Microsoft.Extensions.DependencyModel (2)
CompilationLibrary.cs (1)
11public class CompilationLibrary : Library
RuntimeLibrary.cs (1)
10public class RuntimeLibrary : Library
17 references to Library
Microsoft.Extensions.DependencyModel (17)
CollectionExtensions.netcoreapp.cs (1)
11internal static Dictionary<string, T> LibraryCollectionToDictionary<T>(this IReadOnlyList<T> collection) where T : Library
DependencyContext.cs (1)
82private sealed class LibraryMergeEqualityComparer<T> : IEqualityComparer<T> where T : Library
DependencyContextJsonReader.cs (5)
738private IEnumerable<Library> CreateLibraries(IEnumerable<TargetLibrary>? libraries, bool runtime, Dictionary<string, LibraryStub>? libraryStubs) 742return Enumerable.Empty<Library>(); 747IEnumerable<Library> CreateLibrariesNotNull(IEnumerable<TargetLibrary> libraries, bool runtime, Dictionary<string, LibraryStub>? libraryStubs) 751Library? createdLibrary = CreateLibrary(library, runtime, libraryStubs); 758private Library? CreateLibrary(TargetLibrary targetLibrary, bool runtime, Dictionary<string, LibraryStub>? libraryStubs)
DependencyContextWriter.cs (10)
132private static void WriteTarget(string key, IReadOnlyList<Library> libraries, Utf8JsonWriter jsonWriter) 138Library library = libraries[i]; 168Library library = (Library?)compilationLibrary ?? (Library)runtimeLibrary!; 230private static void WriteTargetLibrary(string key, Library library, Utf8JsonWriter jsonWriter) 407IEnumerable<IGrouping<string, Library>> allLibraries = 408context.RuntimeLibraries.Cast<Library>().Concat(context.CompileLibraries) 412foreach (IGrouping<string, Library> libraryGroup in allLibraries) 419private static void WriteLibrary(string key, Library library, Utf8JsonWriter jsonWriter)