Skip to main content

ILinkageMap

Namespace: IotaSdk

The version of each package a package depends on, keyed by the dependency's runtime ID.

public interface ILinkageMap

Attributes NullableContextAttribute

Methods​

ContainsKey(ObjectId)​

Whether a value is stored under key.

bool ContainsKey(ObjectId key)

Parameters​

key ObjectId

Returns​

Boolean

Entries()​

Every entry, in key order.

LinkageMapEntry[] Entries()

Returns​

LinkageMapEntry[]

Get(ObjectId)​

The value stored under key, or None if there is none.

UpgradeInfo? Get(ObjectId key)

Parameters​

key ObjectId

Returns​

UpgradeInfo?

IsEmpty()​

Whether the map holds no entries.

bool IsEmpty()

Returns​

Boolean

Keys()​

Every key, in key order.

ObjectId[] Keys()

Returns​

ObjectId[]

Len()​

The number of entries.

ulong Len()

Returns​

UInt64

Values()​

Every value, ordered by the key it is stored under.

UpgradeInfo[] Values()

Returns​

UpgradeInfo[]