AttachedPackage Class

Represents a package that has been attached to a build.

Inheritance Hierarchy

Syntax

public sealed class AttachedPackage

Constructors

Name Description
AttachedPackage(AttachedPackageType packageType, string name, string version, byte[] hash, string source, bool active)

Initializes a new instance of the AttachedPackage class.

AttachedPackage(AttachedPackageType packageType, string name, string version, byte[] hash, string source)

Initializes a new instance of the AttachedPackage class.

Properties

Name Description
Active

Gets a value indicating whether the package is active.

Hash

Gets the package hash. May be null (Nothing in Visual Basic).

Name

Gets the package name.

PackageSource

Gets the name of the package source. May be null (Nothing in Visual Basic).

PackageType

Gets the package type.

Version

Gets the package version.

Methods

Name Description
ToString

Returns a string representation of this instance for informational purposes only.