Display
Namespace: IotaSdk
public class Display : IDisplay, System.IDisposable
Inheritance Object → Display
Implements IDisplay, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
Display(UInt64)
public Display(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Fields()
The display template as key/value pairs (e.g. name, link,
image_url, description).
public Dictionary<string, string> Fields()
Returns
Id()
The object's ID.
public ObjectId Id()
Returns
Version()
Version, bumped manually by the publisher on each update.
public ushort Version()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static Display TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
TryFromObjectWithType(Object, TypeTag)
Decode from an on-chain object, validating its Move type tag,
including that its type parameter equals type_param.
public static Display TryFromObjectWithType(Object object, TypeTag typeParam)
Parameters
object Object
typeParam TypeTag