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)
750private IEnumerable<Library> CreateLibraries(IEnumerable<TargetLibrary>? libraries, bool runtime, Dictionary<string, LibraryStub>? libraryStubs) 754return Enumerable.Empty<Library>(); 759IEnumerable<Library> CreateLibrariesNotNull(IEnumerable<TargetLibrary> libraries, bool runtime, Dictionary<string, LibraryStub>? libraryStubs) 763Library? createdLibrary = CreateLibrary(library, runtime, libraryStubs); 770private 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!; 235private static void WriteTargetLibrary(string key, Library library, Utf8JsonWriter jsonWriter) 422IEnumerable<IGrouping<string, Library>> allLibraries = 423context.RuntimeLibraries.Cast<Library>().Concat(context.CompileLibraries) 427foreach (IGrouping<string, Library> libraryGroup in allLibraries) 434private static void WriteLibrary(string key, Library library, Utf8JsonWriter jsonWriter)