Microsoft.Extensions.DependencyModel.Library
Represents a library dependency in a dependency manifest.
Gets the list of dependencies of this library.
Gets the hash of the package, if this library is a package.
Gets the relative path to the library package hash file, if this library is a package.
Gets the library name.
Gets the relative path to package assets, if this library is a package.
Gets a value that indicates whether this library can be serviced, if this library is a package.
Gets the type of this library.
Gets the version of this library.
public Library(string type, string name, string version, string hash, IEnumerable<Dependency> dependencies, bool serviceable)
Initializes a new instance of the Library class using the specified library properties.
public Library(string type, string name, string version, string hash, IEnumerable<Dependency> dependencies, bool serviceable, string path, string hashPath)
Initializes a new instance of the Library class using the specified library properties and path.
public Library(string type, string name, string version, string hash, IEnumerable<Dependency> dependencies, bool serviceable, string path, string hashPath, string runtimeStoreManifestName = null)
Initializes a new instance of the Library class using the specified library properties, path and runtime store manifest.