Udostępnij za pośrednictwem


RuntimeLibrary Class

Definition

Represents a runtime library dependency in a dependency manifest.

public ref class RuntimeLibrary : Microsoft::Extensions::DependencyModel::Library
public class RuntimeLibrary : Microsoft.Extensions.DependencyModel.Library
type RuntimeLibrary = class
    inherit Library
Public Class RuntimeLibrary
Inherits Library
Inheritance
RuntimeLibrary

Remarks

A runtime library dependency is a library required to run an application. You can use the RuntimeLibraries property to get the list of runtime library dependencies for a dependency context. For an example, see DependencyContext documentation.

Constructors

RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String, String)

Initializes a new RuntimeLibrary.

RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String)

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

RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean)

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

Properties

Dependencies

Gets the list of dependencies of this library.

(Inherited from Library)
Hash

Gets the hash of the package, if this library is a package.

(Inherited from Library)
HashPath

Gets the relative path to the library package hash file, if this library is a package.

(Inherited from Library)
Name

Gets the library name.

(Inherited from Library)
NativeLibraryGroups

Gets the list of native library groups for this library.

Path

Gets the relative path to package assets, if this library is a package.

(Inherited from Library)
ResourceAssemblies

Gets the list of resource assemblies for this library.

RuntimeAssemblyGroups

Gets the list of runtime assembly groups for this library.

RuntimeStoreManifestName (Inherited from Library)
Serviceable

Gets a value that indicates whether this library can be serviced, if this library is a package.

(Inherited from Library)
Type

Gets the type of this library.

(Inherited from Library)
Version

Gets the version of this library.

(Inherited from Library)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

GetDefaultAssemblyNames(RuntimeLibrary, DependencyContext)
GetDefaultNativeAssets(RuntimeLibrary, DependencyContext)
GetDefaultNativeRuntimeFileAssets(RuntimeLibrary, DependencyContext)
GetRuntimeAssemblyNames(RuntimeLibrary, DependencyContext, String)
GetRuntimeNativeAssets(RuntimeLibrary, DependencyContext, String)
GetRuntimeNativeRuntimeFileAssets(RuntimeLibrary, DependencyContext, String)

Applies to