<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="11.0.0-preview.5.26302.115" />

Microsoft.Extensions.DependencyModel.RuntimeLibrary

public class RuntimeLibrary : Library
Represents a runtime library dependency in a dependency manifest.

Gets the list of native library groups for this library.

Gets the list of resource assemblies for this library.

Gets the list of runtime assembly groups for this library.

public RuntimeLibrary(string type, string name, string version, string hash, IReadOnlyList<RuntimeAssetGroup> runtimeAssemblyGroups, IReadOnlyList<RuntimeAssetGroup> nativeLibraryGroups, IEnumerable<ResourceAssembly> resourceAssemblies, IEnumerable<Dependency> dependencies, bool serviceable)

Initializes a new instance of the RuntimeLibrary class using the specified library properties.

public RuntimeLibrary(string type, string name, string version, string hash, IReadOnlyList<RuntimeAssetGroup> runtimeAssemblyGroups, IReadOnlyList<RuntimeAssetGroup> nativeLibraryGroups, IEnumerable<ResourceAssembly> resourceAssemblies, IEnumerable<Dependency> dependencies, bool serviceable, string path, string hashPath)

Initializes a new instance of the RuntimeLibrary class using the specified library properties and path.

public RuntimeLibrary(string type, string name, string version, string hash, IReadOnlyList<RuntimeAssetGroup> runtimeAssemblyGroups, IReadOnlyList<RuntimeAssetGroup> nativeLibraryGroups, IEnumerable<ResourceAssembly> resourceAssemblies, IEnumerable<Dependency> dependencies, bool serviceable, string path, string hashPath, string runtimeStoreManifestName)

Initializes a new RuntimeLibrary.