ObjectType
Namespace: IotaSdk
Type of an IOTA object
public class ObjectType : IObjectType, System.IEquatable`1[[IotaSdk.ObjectType, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → ObjectType
Implements IObjectType, IEquatable<ObjectType>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
ObjectType(UInt64)
public ObjectType(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
AsOptStruct()
public StructTag? AsOptStruct()
Returns
AsStruct()
public StructTag AsStruct()
Returns
IsPackage()
public bool IsPackage()
Returns
IsStruct()
public bool IsStruct()
Returns
ToString()
public override string ToString()
Returns
Equals(ObjectType)
public bool Equals(ObjectType? other)
Parameters
other ObjectType?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
NewPackage()
public static ObjectType NewPackage()
Returns
NewStruct(StructTag)
public static ObjectType NewStruct(StructTag structTag)
Parameters
structTag StructTag