Skip to main content

IGrpcAttributeMap

Namespace: IotaSdk

The value of each protocol attribute, keyed by attribute name.

public interface IGrpcAttributeMap

Attributes NullableContextAttribute

Methods​

ContainsKey(String)​

Whether a value is stored under key.

bool ContainsKey(string key)

Parameters​

key String

Returns​

Boolean

Entries()​

Every entry, in key order.

GrpcAttributeMapEntry[] Entries()

Returns​

GrpcAttributeMapEntry[]

Get(String)​

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

string? Get(string key)

Parameters​

key String

Returns​

String?

IsEmpty()​

Whether the map holds no entries.

bool IsEmpty()

Returns​

Boolean

Keys()​

Every key, in key order.

String[] Keys()

Returns​

String[]

Len()​

The number of entries.

ulong Len()

Returns​

UInt64

Values()​

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

String[] Values()

Returns​

String[]