DenyCapV1
Namespace: IotaSdk
public class DenyCapV1 : IDenyCapV1, System.IDisposable
Inheritance Object → DenyCapV1
Implements IDenyCapV1, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
DenyCapV1(UInt64)
public DenyCapV1(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
AllowGlobalPause()
Whether the bearer may also enable a global pause.
public bool AllowGlobalPause()
Returns
Id()
The object's ID.
public ObjectId Id()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static DenyCapV1 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 DenyCapV1 TryFromObjectWithType(Object object, TypeTag typeParam)
Parameters
object Object
typeParam TypeTag