Skip to main content

IUpgradePolicy

Namespace: IotaSdk

Representation of upgrade policy constants in iota::package.

public interface IUpgradePolicy : System.IEquatable`1[[IotaSdk.UpgradePolicy, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Implements IEquatable<UpgradePolicy>
Attributes NullableContextAttribute

Methods​

AsU8()​

Returns the internal representation.

byte AsU8()

Returns​

Byte

ToDisplayString()​

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

string ToDisplayString()

Returns​

String